Skip to content

Commit b5ee674

Browse files
committed
promote 1000 to long
1 parent ea6fe1f commit b5ee674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/cache/decorators/ScheduledCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class ScheduledCache implements Cache {
2828

2929
public ScheduledCache(Cache delegate) {
3030
this.delegate = delegate;
31-
this.clearInterval = 60 * 60 * 1000; // 1 hour
31+
this.clearInterval = 60 * 60 * 1_000L; // 1 hour
3232
this.lastClear = System.currentTimeMillis();
3333
}
3434

0 commit comments

Comments
 (0)