diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-14 17:43:36 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-14 17:43:36 +0300 |
commit | 9df9d357d8f5a8b509a73cc92586ccdc5bb3162c (patch) | |
tree | 5f2829c5f71c66a0289c5048eb88f50397a92b5b /src | |
parent | a523e7e1e2879446497be63881e4c32e7ea72c8b (diff) |
No spam in production
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/services/notificationsService.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/services/notificationsService.js b/src/services/notificationsService.js index 197a7be..51778ba 100644 --- a/src/services/notificationsService.js +++ b/src/services/notificationsService.js @@ -35,10 +35,10 @@ const getNotificationsData = async(tabId, lastETag, forceRefresh) => { || lastUpdated + 35 < now) { BrowserStorage.setItem('tabId', tabId) BrowserStorage.setItem('lastUpdated', now) - console.debug('Refetching data in ' + tabId + ' (prev: ' + lastTab + ' age: ' + (now - lastUpdated) + ')') + // console.debug('Refetching data in ' + tabId + ' (prev: ' + lastTab + ' age: ' + (now - lastUpdated) + ')') await refreshData(lastETag) - } else { - console.debug('Reusing data in ' + tabId + ' (prev: ' + lastTab + ' age: ' + (now - lastUpdated) + ')') + // } else { + // console.debug('Reusing data in ' + tabId + ' (prev: ' + lastTab + ' age: ' + (now - lastUpdated) + ')') } return { |