Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis-Shtanskiy committed Apr 4, 2024
1 parent 160098a commit 90077fa
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/backend/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from os import getenv
from pathlib import Path

# from celery.schedules import crontab
from celery.schedules import crontab
from dotenv import load_dotenv

load_dotenv()
Expand Down Expand Up @@ -204,15 +204,14 @@
"COMPONENT_SPLIT_REQUEST": True,
}

# CELERY_BROKER_URL = "redis://redis:6379/0"
# CELERY_RESULT_BACKEND = "redis://redis:6379/0"
#
# CELERY_BEAT_SCHEDULE = {
# "auto_completion_projects_task": {
# "task": "apps.projects.tasks.auto_completion_projects_task",
# "schedule": crontab(hour=1, minute=0),
# },
# }
CELERY_BROKER_URL = "redis://redis:6379/0"
CELERY_RESULT_BACKEND = "redis://redis:6379/0"
CELERY_BEAT_SCHEDULE = {
"auto_completion_projects_task": {
"task": "apps.projects.tasks.auto_completion_projects_task",
"schedule": crontab(hour=1, minute=0),
},
}


# Логирование для любого уровня разработки:
Expand Down

0 comments on commit 90077fa

Please sign in to comment.