MCPcopy Create free account
hub / github.com/Botloader/botloader / duration

Method duration

components/scheduler/src/scheduler.rs:374–379  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

372
373impl SuspensionReason {
374 fn duration(&self) -> Duration {
375 match self {
376 Self::ExcessCpu => Duration::from_secs(15),
377 Self::ExcessInvalidDiscordRequests => Duration::from_secs(60 * 10),
378 }
379 }
380}
381
382struct GuildSuspension {

Callers 1

can_removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected