Skip to content

Conversation

@f213
Copy link
Member

@f213 f213 commented Sep 2, 2025

Когда выставлен CELERY_ALWAYS_EAGER, без этой настройки:

@celery.task
def failing_task():
  raise RuntimeError

def test():
  failing_task.delay()

# OK

С этой настройкой:

@celery.task
def failing_task():
  raise RuntimeError

def test():
  failing_task.delay()

# Exception: RuntimeError

@f213 f213 requested a review from nvo87 September 2, 2025 15:47
Copy link
Contributor

@nvo87 nvo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@f213 это круто, спасибо! Помню натыкался на такое и не мог понять. Оказывается была настройка ☺️

@f213 f213 merged commit 39e0c1f into master Sep 9, 2025
3 checks passed
@f213 f213 deleted the f213-patch-1 branch September 9, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants