Skip to content

Commit

Permalink
Reduce cache timeout to 2 mins
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <[email protected]>
  • Loading branch information
Gelbpunkt committed May 19, 2024
1 parent 86d2938 commit c5533e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY . /app
WORKDIR /app

ENV GERRIT_URL "https://review.lineageos.org"
ENV CACHE_DEFAULT_TIMEOUT "3600"
ENV CACHE_DEFAULT_TIMEOUT "120"
ENV CACHE_TYPE "simple"
ENV WIKI_INSTALL_URL "https://wiki.lineageos.org/devices/{device}/install"
ENV WIKI_INFO_URL "https://wiki.lineageos.org/devices/{device}"
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ class Config(object):


class FlaskConfig(object):
CACHE_DEFAULT_TIMEOUT = int(os.environ.get('CACHE_DEFAULT_TIMEOUT', '3600'))
CACHE_DEFAULT_TIMEOUT = int(os.environ.get('CACHE_DEFAULT_TIMEOUT', '120'))
CACHE_TYPE = os.environ.get('CACHE_TYPE', 'simple')

0 comments on commit c5533e4

Please sign in to comment.