Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from machacekondra/fix_runner_cache
Browse files Browse the repository at this point in the history
Set runner_cache as defaultdict of dict
  • Loading branch information
pcuzner committed Oct 16, 2019
2 parents 066728f + 737002c commit 3dbcb54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner_service/cache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

from collections import defaultdict

# define dict based variables to act as caches across other modules

Expand All @@ -24,6 +24,6 @@ class RunnerStats(object):

event_cache = {}

runner_cache = {}
runner_cache = defaultdict(dict)

runner_stats = RunnerStats()

0 comments on commit 3dbcb54

Please sign in to comment.