Fix requirements, turn task into shared_task for compatibility
This commit is contained in:
parent
77d9b817ce
commit
a98b65bad0
3 changed files with 6 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
from celery import shared_task, task
|
from celery import shared_task
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@task(name="cron")
|
@shared_task(name="cron")
|
||||||
def process_crons():
|
def process_crons():
|
||||||
from core.modules.cron import crondefinitions
|
from core.modules.cron import crondefinitions
|
||||||
for definition in crondefinitions:
|
for definition in crondefinitions:
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
rabbitmq-server
|
rabbitmq-server
|
||||||
memcached
|
memcached
|
||||||
git
|
git
|
||||||
|
build-essential
|
||||||
|
libmariadb-dev
|
||||||
|
|
|
@ -21,3 +21,4 @@ GitPython
|
||||||
python-dateutil
|
python-dateutil
|
||||||
bindglobal
|
bindglobal
|
||||||
pyotp
|
pyotp
|
||||||
|
pyqrcode
|
||||||
|
|
Loading…
Reference in a new issue