Explorar el Código

fix: renaming consts for min and max notification age

GitOrigin-RevId: 7d36d073301ff02d79e2296af7bfc946ea1ad72a
Jimmy Domagala-Tang hace 1 año
padre
commit
618445722a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      services/web/config/settings.defaults.js

+ 2 - 2
services/web/config/settings.defaults.js

@@ -716,11 +716,11 @@ module.exports = {
     1000 * 60 * 60 * 24 * 90, // 90 days
 
   // Maximum Delay before sending comment mention notifications
-  commentMentionMaxDelay:
+  notificationMaxDelay:
     parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 30 * 60 * 1000, // 30 minutes
 
   // Comment mention notifications will wait at least this long before being sent
-  commentMentionMinAge:
+  notificationMinDelay:
     parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 10 * 60 * 1000, // 10 minutes
 
   // Maximum JSON size in HTTP requests