[Update] 默认关闭自动定时推送功能

pull/1068/head
ibuler 2018-03-13 09:57:38 +08:00
parent faf6a7b623
commit 2e8f5919a8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ TIMEOUT = 60
logger = get_logger(__file__)
CACHE_MAX_TIME = 60*60*60
disk_pattern = re.compile(r'^hd|sd|xvd|vd')
PERIOD_TASK = os.environ.get("PERIOD_TASK", "on")
PERIOD_TASK = os.environ.get("PERIOD_TASK", "off")
@shared_task