3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-11 13:07:20 +00:00

Batch embed logs. Always use log batching.

This commit is contained in:
Dragory 2021-09-11 18:57:06 +03:00
parent 40a2171645
commit 6e06d90ca4
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}`);
},