diff --git a/in.txt b/in.txt deleted file mode 100644 index 2deca7f..0000000 --- a/in.txt +++ /dev/null @@ -1 +0,0 @@ -10 5 diff --git a/out.txt b/out.txt deleted file mode 100644 index 60d3b2f..0000000 --- a/out.txt +++ /dev/null @@ -1 +0,0 @@ -15 diff --git a/server/celery.py b/server/celery.py new file mode 100644 index 0000000..f458665 --- /dev/null +++ b/server/celery.py @@ -0,0 +1,10 @@ +from os import environ + +from celery import Celery + +environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings.development") + +app = Celery("virtualjudge") + +app.config_from_object("django.conf:settings", namespace="CELERY") +app.autodiscover_tasks()