From 8bd304b01820e4fe99365ada17752033d40b6776 Mon Sep 17 00:00:00 2001 From: RogueException Date: Mon, 20 Jun 2016 23:40:04 -0300 Subject: [PATCH] Disabled memory cache by default --- src/Discord.Net/DiscordSocketConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/DiscordSocketConfig.cs b/src/Discord.Net/DiscordSocketConfig.cs index 760f9818c..04c3a0828 100644 --- a/src/Discord.Net/DiscordSocketConfig.cs +++ b/src/Discord.Net/DiscordSocketConfig.cs @@ -18,7 +18,7 @@ namespace Discord public int FailedReconnectDelay { get; set; } = 15000; /// Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely. - public int MessageCacheSize { get; set; } = 100; + public int MessageCacheSize { get; set; } = 0; /*/// /// 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.