Increase lease time for DeleteContactsAndHostsAction to 120 minutes

It was hitting lease timeouts at just 20 minutes in larger environments.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=200126822
This commit is contained in:
mcilwain 2018-06-11 15:45:28 -07:00 committed by Ben McIlwain
parent ccdf8c4b26
commit d1d13799d1

View file

@ -110,7 +110,7 @@ public class DeleteContactsAndHostsAction implements Runnable {
static final String KIND_CONTACT = getKind(ContactResource.class); static final String KIND_CONTACT = getKind(ContactResource.class);
static final String KIND_HOST = getKind(HostResource.class); static final String KIND_HOST = getKind(HostResource.class);
private static final long LEASE_MINUTES = 20; private static final long LEASE_MINUTES = 120;
private static final FluentLogger logger = FluentLogger.forEnclosingClass(); private static final FluentLogger logger = FluentLogger.forEnclosingClass();
private static final int MAX_REDUCE_SHARDS = 50; private static final int MAX_REDUCE_SHARDS = 50;
private static final int DELETES_PER_SHARD = 5; private static final int DELETES_PER_SHARD = 5;