Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import com.google.inject.Singleton
import net.pterodactylus.sone.core.event.StrictFilteringActivatedEvent
import net.pterodactylus.sone.core.event.StrictFilteringDeactivatedEvent
import net.pterodactylus.util.service.AbstractService
import java.util.concurrent.TimeUnit.MINUTES
import java.util.concurrent.TimeUnit.SECONDS
import java.util.concurrent.atomic.AtomicBoolean
import java.util.logging.Level
Expand Down Expand Up @@ -80,8 +81,8 @@ class IdentityManagerImpl @Inject constructor(
logger.log(Level.SEVERE, "Uncaught exception in IdentityManager thread!", e)
}

/* wait a minute before checking again. */
sleep(SECONDS.toMillis(60))
/* wait ten minutes before checking again. */
sleep(MINUTES.toMillis(10))
}
}

Expand Down