gabcares commited on
Commit
1685498
·
verified ·
1 Parent(s): 984358c

Update utils/utils.py

Browse files
Files changed (1) hide show
  1. utils/utils.py +2 -1
utils/utils.py CHANGED
@@ -14,7 +14,8 @@ from utils.config import ors_api_key, BRANDCOLORS, BASEMAPS, ONE_WEEK_SEC, LOCAT
14
 
15
 
16
  # Cache expires after 1 week
17
- R.install_cache('/client/requests_cache/yassir_requests_cache', expire_after=ONE_WEEK_SEC) # Sqlite
 
18
 
19
 
20
  # ---------------------------------------------------------------
 
14
 
15
 
16
  # Cache expires after 1 week
17
+ # R.install_cache('/client/requests_cache/yassir_requests_cache', expire_after=ONE_WEEK_SEC) # Sqlite
18
+ R.install_cache(backend='memory', expire_after=ONE_WEEK_SEC) # Sqlite
19
 
20
 
21
  # ---------------------------------------------------------------