perf: disable some performance-intensive niche/edge case features

This commit is contained in:
Dragory 2021-10-25 22:09:53 +03:00
parent 73c47bf39d
commit 719884d9c0
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 4 additions and 3 deletions

View file

@ -82,7 +82,7 @@ export const MutesPlugin = zeppelinGuildPlugin<MutesPluginType>()({
// prettier-ignore // prettier-ignore
events: [ events: [
ClearActiveMuteOnRoleRemovalEvt, // ClearActiveMuteOnRoleRemovalEvt, // FIXME: Temporarily disabled for performance
ClearActiveMuteOnMemberBanEvt, ClearActiveMuteOnMemberBanEvt,
ReapplyActiveMuteOnJoinEvt, ReapplyActiveMuteOnJoinEvt,
], ],

View file

@ -38,8 +38,9 @@ export const PingableRolesPlugin = zeppelinGuildPlugin<PingableRolesPluginType>(
// prettier-ignore // prettier-ignore
events: [ events: [
TypingEnablePingableEvt, // FIXME: Temporarily disabled for performance. This is very buggy anyway, so consider removing in the future.
MessageCreateDisablePingableEvt, // TypingEnablePingableEvt,
// MessageCreateDisablePingableEvt,
], ],
beforeLoad(pluginData) { beforeLoad(pluginData) {