adding test for processNotifications

GitOrigin-RevId: 35825755344e9cc10f9e571a253a2eae982b306a
This commit is contained in:
Jimmy Domagala-Tang
2025-10-23 19:44:19 -04:00
committed by Copybot
parent bfa70bf43b
commit d77be2c94e
2 changed files with 8 additions and 1 deletions

View File

@@ -720,7 +720,7 @@ module.exports = {
parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 30 * 60 * 1000, // 30 minutes
// Comment mention notifications will wait at least this long before being sent
commentMentionMinDelay:
commentMentionMinAge:
parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 10 * 60 * 1000, // 10 minutes
// Maximum JSON size in HTTP requests

View File

@@ -23,6 +23,13 @@ const newIndexes = [
name: 'createdAt_1',
expireAfterSeconds: 60 * 60 * 24, // expire after 24 hours
},
{
key: {
project_id: 1,
},
name: 'project_id_1',
expireAfterSeconds: 60 * 60 * 24, // expire after 24 hours
},
]
const migrate = async client => {