We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830cb7c commit 263cfc0Copy full SHA for 263cfc0
DiscordMessageCache.cs
@@ -121,13 +121,16 @@ public void Prefill()
121
{
122
return;
123
}
124
- if (MessagesPerChannel < 150)
+ if (MessagesPerChannel > 150)
125
126
Console.WriteLine("Performing initial cache pre-fill pass");
127
PrefillInternal(50);
128
129
- Console.WriteLine("Performing full cache pre-fill");
130
- PrefillInternal(MessagesPerChannel);
+ if (MessagesPerChannel > 50)
+ {
131
+ Console.WriteLine($"Performing full cache pre-fill of {MessagesPerChannel} messages per channel");
132
+ PrefillInternal(MessagesPerChannel);
133
+ }
134
Console.WriteLine("Cache pre-fill complete.");
135
136
0 commit comments