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"); } }