mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-15 20:24:42 +08:00
16 lines
428 B
Python
16 lines
428 B
Python
# -*- coding: utf-8 -*-
|
|
import datetime
|
|
|
|
from dogpile.cache import make_region
|
|
|
|
#: Expiration time for show caching
|
|
SHOW_EXPIRATION_TIME = datetime.timedelta(weeks=3).total_seconds()
|
|
|
|
#: Expiration time for episode caching
|
|
EPISODE_EXPIRATION_TIME = datetime.timedelta(days=3).total_seconds()
|
|
|
|
#: Expiration time for scraper searches
|
|
REFINER_EXPIRATION_TIME = datetime.timedelta(weeks=1).total_seconds()
|
|
|
|
|
|
region = make_region()
|