Skip to content

Commit 8e3d100

Browse files
committed
hard coded for standslone test
1 parent 2f59930 commit 8e3d100

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

conf/default-config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"optout_inmem_cache": false,
3838
"enclave_platform": null,
3939
"failure_shutdown_wait_hours": 120,
40-
"keyset_key_shutdown_hours": 2,
4140
"sharing_token_expiry_seconds": 2592000,
4241
"operator_type": "public",
4342
"enable_remote_config": true,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ 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(config.getInteger(Const.Config.KeysetKeyShutdownHours, 2)), Clock.systemUTC(), new ShutdownService());
117+
this.shutdownHandler = new OperatorShutdownHandler(Duration.ofHours(12), Duration.ofHours(config.getInteger(Const.Config.SaltsExpiredShutdownHours, 12)), Duration.ofHours(2), Clock.systemUTC(), new ShutdownService());
118118
this.uidInstanceIdProvider = new UidInstanceIdProvider(config);
119119

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

0 commit comments

Comments
 (0)