#dead keys???

1 messages · Page 1 of 1 (latest)

topaz depot
#
Loop thread traceback (most recent call last):
  File "/usr/app/launcher.py", line 44, in <module>
    asyncio.run(main())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1899, in _run_once
    handle._run()
  File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.10/site-packages/disnake/client.py", line 703, in _run_event
    await coro(*args, **kwargs)
  File "/usr/app/vroles2/cogs/guild/autorole.py", line 79, in on_presence_update
    bucket = plugin.bot.embed_cooldown.get_bucket(PresenceInteraction(after))
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 227, in get_bucket
    self._verify_cache_integrity(current)
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 212, in _verify_cache_integrity
    dead_keys = [k for k, v in self._cache.items() if current > v._last + v.per]
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 212, in <listcomp>
    dead_keys = [k for k, v in self._cache.items() if current > v._last + v.per]
#
bucket = plugin.bot.embed_cooldown.get_bucket(PresenceInteraction(after))
retry_after = bucket.update_rate_limit()
if retry_after:
    return
#
self.embed_cooldown = commands.CooldownMapping.from_cooldown(
            1, 600, commands.BucketType.user
#

yeah

#
[2023-08-13 16:00:17,965] WARNING [disnake.gateway.run:231] Shard ID 22 heartbeat blocked for more than 10 seconds.
Loop thread traceback (most recent call last):
  File "/usr/app/launcher.py", line 44, in <module>
    asyncio.run(main())
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1899, in _run_once
    handle._run()
  File "/usr/local/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/local/lib/python3.10/site-packages/disnake/client.py", line 703, in _run_event
    await coro(*args, **kwargs)
  File "/usr/app/vroles2/cogs/guild/autorole.py", line 79, in on_presence_update
    bucket = plugin.bot.embed_cooldown.get_bucket(PresenceInteraction(after))
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 227, in get_bucket
    self._verify_cache_integrity(current)
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 212, in _verify_cache_integrity
    dead_keys = [k for k, v in self._cache.items() if current > v._last + v.per]
  File "/usr/local/lib/python3.10/site-packages/disnake/ext/commands/cooldowns.py", line 212, in <listcomp>
    dead_keys = [k for k, v in self._cache.items() if current > v._last + v.per]

[2023-08-13 16:00:20,552] INFO [disnake.gateway.poll_event:732] Websocket closed with 1000, cannot reconnect.
#

no actual error either

#

just prints this and as you can see blocking the bot lol

#

dead keys???

#

hate to tag u but any idea wtf this is ? @bronze sequoia

topaz depot
#

bump