summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2019-02-18 11:38:16 -0800
committerClark Boylan <clark.boylan@gmail.com>2019-02-19 09:31:54 -0800
commitcee7a4e2486e58acf385424b8ae3786543daf886 (patch)
tree61bbee357371a2abd002e3e88e607dc289f147fa /requirements.txt
parent4056352036e459e549692a13044058d0e3e28915 (diff)
downloadzuul-cee7a4e2486e58acf385424b8ae3786543daf886.tar.gz
Switch to LRU based sha to PR cache
This updates the github driver to cache PRs by sha using cachetool's LRUCache. We make this change because we need to cache closed PRs so can't rely on the action of closing a PR to remove the PR from the cache. Since we don't have a good method of evicting entries we fall back to LRU with a reasonable cache size (2k commits). Change-Id: I5fb6c8b33f9eed221a8b84e537f02e7dccf2d2df
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index a7a7779da..bcfb3c762 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -19,6 +19,7 @@ sqlalchemy
alembic
cryptography>=1.6
cachecontrol
+cachetools
pyjwt
iso8601
psutil