Skip to content

Commit

Permalink
Enable EventLocker in production
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Nov 7, 2022
1 parent faf8aa5 commit 2b11008
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/event-lock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export class EventLocker {
private readonly db: Database;
private readonly insertStatement: Statement;
private readonly deleteStatement: Statement;
// This should be "true", but only enable this at boot in preview first
private isActive = !!process.env.BOT_NO_DIRECT_MESSAGE_SEARCH;
private isActive = true;
private readonly onTTIN: NodeJS.SignalsListener;
private readonly onTTOU: NodeJS.SignalsListener;

Expand Down

0 comments on commit 2b11008

Please sign in to comment.