forked from DiscordBots/lilJudd
fix: make the StatusUpdater Run every 30 seconds instead of 10 to reduce the nr of status updates sent to Discord and avoid issues with updating the status
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
39917e4b5a
commit
58f2379f45
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ object StatusUpdater : ICronjob {
|
||||||
override val jobName: String
|
override val jobName: String
|
||||||
get() = "StatusUpdater"
|
get() = "StatusUpdater"
|
||||||
override val jobIncoming: String
|
override val jobIncoming: String
|
||||||
get() = "/10 * * * * * 0o *" //Every 5 seconds
|
get() = "/30 * * * * * 0o *" //Every 30 seconds
|
||||||
override val jobType: CronjobType
|
override val jobType: CronjobType
|
||||||
get() = CronjobType.INFINITE
|
get() = CronjobType.INFINITE
|
||||||
override val continueJob: Boolean
|
override val continueJob: Boolean
|
||||||
|
|
Loading…
Reference in a new issue