[Update] 默认关闭定时任务

pull/1293/head
ibuler 2018-05-02 18:15:48 +08:00
parent 0b89ff17fd
commit e291ca9057
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,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