Lease cleanup interval fix

This commit is contained in:
Chunxue Yang 2020-08-06 10:03:03 -07:00 committed by Joshua Kim
parent 44474a1c05
commit bb84c17abf

View file

@ -93,7 +93,7 @@ public class KinesisClientLibConfiguration {
/**
* Interval to run lease cleanup thread in {@link LeaseCleanupManager}.
*/
private static final long DEFAULT_LEASE_CLEANUP_INTERVAL_MILLIS = Duration.ofHours(1).toMillis();
private static final long DEFAULT_LEASE_CLEANUP_INTERVAL_MILLIS = Duration.ofMinutes(1).toMillis();
/**
* Threshold in millis at which to check if there are any completed leases (leases for shards which have been