We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f600361 commit 62d472fCopy full SHA for 62d472f
spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/JdbcLockRegistry.java
@@ -52,11 +52,13 @@
52
*/
53
public class JdbcLockRegistry implements ExpirableLockRegistry {
54
55
+ private static final int DEFAULT_IDLE = 100;
56
+
57
private final Map<String, JdbcLock> locks = new ConcurrentHashMap<>();
58
59
private final LockRepository client;
60
- private Duration idleBetweenTries = Duration.ofMillis(100);
61
+ private Duration idleBetweenTries = Duration.ofMillis(DEFAULT_IDLE);
62
63
public JdbcLockRegistry(LockRepository client) {
64
this.client = client;
0 commit comments