DevTools

Properties

Link copied to clipboard
@ConfigurationValue(path = "jda.devtools.enabled", defaultValue = "true")
val enabled: Boolean = true

When Spring devtools are enabled, enables shutting down JDA when the IoC container closes.

Link copied to clipboard
@ConfigurationValue(path = "jda.devtools.shutdownTimeout", type = "java.time.Duration", defaultValue = "10s")
val shutdownTimeout: Duration

Time to wait until JDA needs to be forcefully shut down, in other words, this is the allowed time for a graceful shutdown.