Skip to content

Commit

Permalink
chore(event-naming): renamed event strings to be more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
asalem1 committed Jul 24, 2020
1 parent 89f27b5 commit 8025db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/shared/apis/queryCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class QueryCache {
this.resetCacheByID(id)
return null
}
event('query_cache_hit', {context: 'queryCache'})
event('Query Cache successful Get', {context: 'queryCache'})
return this.cache[id].values
}

Expand Down Expand Up @@ -112,7 +112,7 @@ class QueryCache {
hashedVariables: string,
values: RunQueryResult
): void => {
event('query_cache_miss', {context: 'queryCache'})
event('Query Cache was Set', {context: 'queryCache'})
this.cache[queryID] = {
...this.initializeCacheByID(queryID, hashedVariables),
dateSet: Date.now(),
Expand Down

0 comments on commit 8025db7

Please sign in to comment.