Skip to content

Commit b64e24b

Browse files
committed
5 minutes for testing
1 parent 2012ab2 commit b64e24b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/uid2/operator/Main.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
114114
this.clientSideTokenGenerate = config.getBoolean(Const.Config.EnableClientSideTokenGenerate, false);
115115
this.validateServiceLinks = config.getBoolean(Const.Config.ValidateServiceLinks, false);
116116
this.encryptedCloudFilesEnabled = config.getBoolean(Const.Config.EncryptedFiles, false);
117-
this.shutdownHandler = new OperatorShutdownHandler(Duration.ofHours(12), Duration.ofHours(config.getInteger(Const.Config.SaltsExpiredShutdownHours, 12)), Duration.ofHours(2), Clock.systemUTC(), new ShutdownService());
117+
//todo: change to a config values after testing
118+
this.shutdownHandler = new OperatorShutdownHandler(Duration.ofHours(12), Duration.ofHours(config.getInteger(Const.Config.SaltsExpiredShutdownHours, 12)), Duration.ofMinutes(5), Clock.systemUTC(), new ShutdownService());
118119
this.uidInstanceIdProvider = new UidInstanceIdProvider(config);
119120

120121
String coreAttestUrl = this.config.getString(Const.Config.CoreAttestUrlProp);

0 commit comments

Comments
 (0)