fix: add flag for disabling events instead of commenting them out (#695)

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
Tom
2026-03-27 17:03:48 -07:00
committed by GitHub
parent 98c7b1b5a5
commit a5cd08a655
4 changed files with 59 additions and 44 deletions

View File

@@ -1,4 +1,5 @@
production = false
disable_events_dont_use = false
[database]
# MongoDB connection URL

View File

@@ -423,6 +423,7 @@ pub struct Settings {
pub features: Features,
pub sentry: Sentry,
pub production: bool,
pub disable_events_dont_use: bool,
}
impl Settings {