Batch embed logs. Always use log batching.

This commit is contained in:
Dragory 2021-09-11 18:57:06 +03:00
parent 0b7a5dbfbc
commit 001b6d00ea
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
4 changed files with 225 additions and 86 deletions

View file

@ -266,7 +266,7 @@ export const LogsPlugin = zeppelinGuildPlugin<LogsPluginType>()({
state.archives = GuildArchives.getGuildInstance(guild.id);
state.cases = GuildCases.getGuildInstance(guild.id);
state.batches = new Map();
state.buffers = new Map();
state.regexRunner = getRegExpRunner(`guild-${pluginData.guild.id}`);
},