Skip to content

Guild chunk timeout with large number of members in single shard #683

@shiftinv

Description

@shiftinv

Summary

The timeout for chunking guilds is len(guilds) * 70, which can be too low if the guilds has a high member count and/or the ws is bottlenecked due to other events.

Expected Results

No warning should be shown, and the timeout should account for the size of the guilds that are currently being waited for.

Actual Results

WARNING [disnake.state._delay_ready:2015] Shard ID 0 failed to wait for chunks from a sub-bucket with length 2

Intents

members + presences

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

https://canary.discord.com/channels/808030843078836254/883342278280745030/1003725784340508732

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions