From c008818c773d9f3de21d7f33b6181128084c9339 Mon Sep 17 00:00:00 2001 From: Brendan Le Ny Date: Wed, 12 Jun 2024 16:09:59 +0200 Subject: [PATCH] Type constant --- .../java/sh/libre/scim/storage/ScimStorageProviderFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/sh/libre/scim/storage/ScimStorageProviderFactory.java b/src/main/java/sh/libre/scim/storage/ScimStorageProviderFactory.java index 61eae540f0..f805cd65e7 100644 --- a/src/main/java/sh/libre/scim/storage/ScimStorageProviderFactory.java +++ b/src/main/java/sh/libre/scim/storage/ScimStorageProviderFactory.java @@ -22,6 +22,7 @@ import sh.libre.scim.core.GroupAdapter; import sh.libre.scim.core.ScimDispatcher; import sh.libre.scim.core.UserAdapter; +import java.time.Duration; import java.util.Date; import java.util.List; @@ -176,6 +177,6 @@ public class ScimStorageProviderFactory }); } - }, 30000, "scim-background"); + }, Duration.ofSeconds(30).toMillis(), "scim-background"); } }