diff --git a/src/main/java/org/mskcc/cbio/oncokb/web/rest/ApiProxy.java b/src/main/java/org/mskcc/cbio/oncokb/web/rest/ApiProxy.java index 263556a86..c340119cc 100644 --- a/src/main/java/org/mskcc/cbio/oncokb/web/rest/ApiProxy.java +++ b/src/main/java/org/mskcc/cbio/oncokb/web/rest/ApiProxy.java @@ -157,6 +157,9 @@ private int getUsageCount(String body, HttpMethod method) { @Async public void updateTokenStats(HttpServletRequest request, int usageCount) { + if (applicationProperties.getDbReadOnly()) { + return; + } Optional userOptional = SecurityUtils.getCurrentUserLogin(); if (userOptional.isPresent()) { List tokenUsageCheckWhitelist = Arrays.stream(applicationProperties.getTokenUsageCheckWhitelist().split(",")).map(api -> api.trim()).filter(api -> !api.isEmpty()).collect(Collectors.toList()); diff --git a/src/main/webapp/app/components/userMessager/UserMessage.tsx b/src/main/webapp/app/components/userMessager/UserMessage.tsx index c660370a6..203d77733 100644 --- a/src/main/webapp/app/components/userMessager/UserMessage.tsx +++ b/src/main/webapp/app/components/userMessager/UserMessage.tsx @@ -133,7 +133,7 @@ if (
Attention: We want to inform you of an upcoming infrastructure update that may lead to a temporary service disruption, planned{' '} - Nov 25th, 8am-12pm EDT. + Nov 25th to 26th.
During this period, you may experience intermittent service interruptions, brief outages, or slower response times while accessing @@ -143,7 +143,7 @@ if ( ), backgroundColor: COLOR_WARNING, color: COLOR_BLACK, - id: 'warning_msg_11192023', + id: 'warning_msg_11252023', }, ]; }