Added slow/deadlocked event handler detection
This commit is contained in:
@@ -33,6 +33,8 @@ namespace Discord.WebSocket
|
||||
|
||||
/// <summary> Gets or sets whether or not all users should be downloaded as guilds come available. </summary>
|
||||
public bool AlwaysDownloadUsers { get; set; } = false;
|
||||
/// <summary> Gets or sets whether or not warnings should be logged if an event handler is taking too long to execute. </summary>
|
||||
public bool EnableHandlerTimeouts { get; set; } = true;
|
||||
|
||||
public DiscordSocketConfig()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user