Lease cleanup interval fix
This commit is contained in:
parent
44474a1c05
commit
bb84c17abf
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ public class KinesisClientLibConfiguration {
|
||||||
/**
|
/**
|
||||||
* Interval to run lease cleanup thread in {@link LeaseCleanupManager}.
|
* 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
|
* Threshold in millis at which to check if there are any completed leases (leases for shards which have been
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue