Skip to content

Commit 4049059

Browse files
committed
increase the email notification limit to 50 per 6 hours
1 parent 02deb69 commit 4049059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/backend/mentions/handle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const logger = getLogger("mentions - handle");
1313
// TODO: should be in the database server settings; also should be
1414
// user configurable, and this is just a default
1515
const minEmailInterval = "6 hours";
16-
const maxPerInterval = 2; // get up to 2 emails for a given chatroom every 6 hours.
16+
const maxPerInterval = 50; // up to 50 emails for a given chatroom every 6 hours.
1717

1818
// We check for new notifications this frequently.
1919
const polIntervalSeconds = 15;

0 commit comments

Comments
 (0)