From ee3d1c40610c267da323adb94481510e3d767770 Mon Sep 17 00:00:00 2001 From: Awais Ansari <79941147+awais-ansari@users.noreply.github.com> Date: Tue, 17 May 2022 00:15:05 +0500 Subject: [PATCH] chore: update discussions MEF POST_MARK_AS_READ_DELAY to 0ms (#159) --- .env | 2 +- .env.development | 2 +- .env.test | 2 +- src/index.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 5bc31041..f791cf5d 100644 --- a/.env +++ b/.env @@ -15,7 +15,7 @@ LOGO_WHITE_URL='' FAVICON_URL='' MARKETING_SITE_BASE_URL='' ORDER_HISTORY_URL='' -POST_MARK_AS_READ_DELAY=2000 +POST_MARK_AS_READ_DELAY=0 REFRESH_ACCESS_TOKEN_ENDPOINT='' SEGMENT_KEY='' SITE_NAME='' diff --git a/.env.development b/.env.development index af61c869..24972392 100644 --- a/.env.development +++ b/.env.development @@ -16,7 +16,7 @@ LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico MARKETING_SITE_BASE_URL='http://localhost:18000' ORDER_HISTORY_URL='http://localhost:1996/orders' -POST_MARK_AS_READ_DELAY=2000 +POST_MARK_AS_READ_DELAY=0 REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh' SEGMENT_KEY='' SITE_NAME=localhost diff --git a/.env.test b/.env.test index cfb9b321..2326b524 100644 --- a/.env.test +++ b/.env.test @@ -14,7 +14,7 @@ LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico MARKETING_SITE_BASE_URL='http://localhost:18000' ORDER_HISTORY_URL='http://localhost:1996/orders' -POST_MARK_AS_READ_DELAY=2000 +POST_MARK_AS_READ_DELAY=0 REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh' SEGMENT_KEY='' SITE_NAME=localhost diff --git a/src/index.jsx b/src/index.jsx index b1424b35..9d818040 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -37,7 +37,7 @@ initialize({ handlers: { config() { mergeConfig({ - POST_MARK_AS_READ_DELAY: process.env.POST_MARK_AS_READ_DELAY || 2000, + POST_MARK_AS_READ_DELAY: process.env.POST_MARK_AS_READ_DELAY || 0, }); }, },