Spaces:
Runtime error
Runtime error
Commit ·
454d802
1
Parent(s): ceb9b8c
update cache validity
Browse files- persistStorage.py +1 -1
persistStorage.py
CHANGED
|
@@ -20,7 +20,7 @@ except:
|
|
| 20 |
# Set the time zone to Pacific Time Zone
|
| 21 |
TIME_ZONE = 'US/Pacific'
|
| 22 |
TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
|
| 23 |
-
CACHE_TIME_EXPIRE =
|
| 24 |
|
| 25 |
def append_dict_to_csv(file_path, row_data):
|
| 26 |
fieldnames = row_data.keys()
|
|
|
|
| 20 |
# Set the time zone to Pacific Time Zone
|
| 21 |
TIME_ZONE = 'US/Pacific'
|
| 22 |
TIMEZONE_OBJ = pytz.timezone(TIME_ZONE)
|
| 23 |
+
CACHE_TIME_EXPIRE = 20 #days
|
| 24 |
|
| 25 |
def append_dict_to_csv(file_path, row_data):
|
| 26 |
fieldnames = row_data.keys()
|