Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Storj/dataserv into develop
Browse files Browse the repository at this point in the history
Conflicts:
	dataserv/config.py
  • Loading branch information
F483 committed Dec 27, 2015
2 parents 8bdd033 + 65b89f1 commit 7da0b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataserv/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
level=logging.DEBUG)
TOTAL_UPDATE = 30 # minutes

if os.environ.get("DATASERV_CACHING_TIME"): # pragma: no cover
if os.environ.get("DATASERV_CACHING_TIME"):
CACHING_TIME = int(os.environ.get("DATASERV_CACHING_TIME"))
else:
CACHING_TIME = 30 # seconds

DISABLE_CACHING = not bool(CACHING_TIME)

0 comments on commit 7da0b6b

Please sign in to comment.