Explorar el Código

[web] rename notifications env variable (#32654)

GitOrigin-RevId: f319fbae7da4c85d21e6c100bb2f6e6ef7c472b3
Kristina hace 7 meses
padre
commit
8dce78cd97
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

@@ -741,11 +741,11 @@ module.exports = {
 
   // Maximum Delay before sending comment mention notifications
   notificationMaxDelay:
-    parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 30 * 60 * 1000, // 30 minutes
+    parseInt(process.env.COMMENT_MENTION_DELAY_MS) || 30 * 60 * 1000, // 30 minutes
 
   // Comment mention notifications will wait at least this long before being sent
   notificationMinDelay:
-    parseInt(process.env.COMMENT_MENTION_DELAY_MINUTES) || 10 * 60 * 1000, // 10 minutes
+    parseInt(process.env.COMMENT_MENTION_DELAY_MS) || 10 * 60 * 1000, // 10 minutes
 
   // Maximum JSON size in HTTP requests
   // We should be able to process twice the max doc length, to allow for