Disabled memory cache by default
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Discord
|
|||||||
public int FailedReconnectDelay { get; set; } = 15000;
|
public int FailedReconnectDelay { get; set; } = 15000;
|
||||||
|
|
||||||
/// <summary> Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely. </summary>
|
/// <summary> Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely. </summary>
|
||||||
public int MessageCacheSize { get; set; } = 100;
|
public int MessageCacheSize { get; set; } = 0;
|
||||||
/*/// <summary>
|
/*/// <summary>
|
||||||
/// Gets or sets whether the permissions cache should be used.
|
/// Gets or sets whether the permissions cache should be used.
|
||||||
/// This makes operations such as User.GetPermissions(Channel), User.GuildPermissions, Channel.GetUser, and Channel.Members much faster at the expense of increased memory usage.
|
/// This makes operations such as User.GetPermissions(Channel), User.GuildPermissions, Channel.GetUser, and Channel.Members much faster at the expense of increased memory usage.
|
||||||
|
|||||||
Reference in New Issue
Block a user