Discord Integration Forge

Discord Integration Forge

935k Downloads

[BUG] Constant spam in logs:

Sakata-MC opened this issue · 2 comments

commented

What happened?
Constant spam in logs:
OkHttp https://discordapp.com/.../INFO] [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [OkHttp https://discordapp.com/...] WARN RateLimiter - Encountered 429 on route /channels/########

What should happen?
Not having the logs spammed to death

Steps to reproduce

  • Server was up for... ~27 hours.

Version

  • [X ] 1.12
  • 1.14

Mod version
dcintegration-1.1.5-1.12

Additional info

The logfile was bigger than the world save after only about a day. Not lookin' good.

commented

🤔 Too many requests... Does this happen more often? If yes try disabling the channel description changes. Maybe this was updating too often

commented

still happens after reboot. I've changed

S:CHANNEL_DESCRIPTION=%motd% (%online%/%max%) | %tps% TPS | Uptime: %uptime%

to

S:CHANNEL_DESCRIPTION=

and restarted today... hopefully that will change things, but ofc its reducing the usefulness of the bot.
The solution would be to rate limit the bot in the plugin. Perhaps make it configurable.