mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[modify] change local cache's expire time
This commit is contained in:
parent
b4d5592e50
commit
8db914939b
@ -34,7 +34,7 @@ public class CacheService {
|
||||
|
||||
public CacheService() {
|
||||
jobId2JobNameCache = CacheBuilder.newBuilder()
|
||||
.expireAfterWrite(Duration.ofHours(1))
|
||||
.expireAfterWrite(Duration.ofMinutes(1))
|
||||
.maximumSize(1024)
|
||||
.build();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user