зеркало из https://github.com/mozilla/kitsune.git
disable short URL generation cron on stage (#5197)
This commit is contained in:
Родитель
86c9eb65bf
Коммит
deb0abbabf
|
@ -116,7 +116,7 @@ def job_update_product_details():
|
||||||
minute="20",
|
minute="20",
|
||||||
max_instances=1,
|
max_instances=1,
|
||||||
coalesce=True,
|
coalesce=True,
|
||||||
skip=settings.READ_ONLY,
|
skip=(settings.READ_ONLY or settings.STAGE),
|
||||||
)
|
)
|
||||||
@babis.decorator(ping_after=settings.DMS_GENERATE_MISSING_SHARE_LINKS)
|
@babis.decorator(ping_after=settings.DMS_GENERATE_MISSING_SHARE_LINKS)
|
||||||
def job_generate_missing_share_links():
|
def job_generate_missing_share_links():
|
||||||
|
|
Загрузка…
Ссылка в новой задаче