From b9fd0a03b0d49c7fe5a92fa215d03bed99ee9dfe Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 28 Oct 2016 11:42:40 -0700 Subject: [PATCH] Throttle Sentry exceptions --- app/backend/sync/storage.js | 1 - app/main.html | 48 ++++++++++++++++++++++++------------- 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/app/backend/sync/storage.js b/app/backend/sync/storage.js index 9c13405a99..81cb549162 100644 --- a/app/backend/sync/storage.js +++ b/app/backend/sync/storage.js @@ -45,7 +45,6 @@ export async function findResourcesForResourceGroup (resourceGroupId) { } export async function getResourceById (id) { - // TODO: this query should probably include resourceGroupId as well const rawDocs = await _promisifyCallback(_getDB(TYPE_RESOURCE), 'find', {id}); return rawDocs.length >= 1 ? rawDocs[0] : null; } diff --git a/app/main.html b/app/main.html index c32a7511f0..a985ab8b5e 100644 --- a/app/main.html +++ b/app/main.html @@ -12,7 +12,6 @@