Spaces:
Sleeping
Sleeping
Sunrusojsis
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -15,7 +15,7 @@ async def startup_event():
|
|
15 |
allowed_methods=('GET', 'POST'),
|
16 |
allowed_codes=(200,503,502),
|
17 |
include_headers=True,
|
18 |
-
expire_after =
|
19 |
)
|
20 |
global http_client
|
21 |
http_client = CachedSession(cache=cache)
|
|
|
15 |
allowed_methods=('GET', 'POST'),
|
16 |
allowed_codes=(200,503,502),
|
17 |
include_headers=True,
|
18 |
+
expire_after = 20
|
19 |
)
|
20 |
global http_client
|
21 |
http_client = CachedSession(cache=cache)
|