Fix verbose flag for worker task (#11883)

This commit is contained in:
Oliver 2026-05-07 14:19:22 +10:00 committed by GitHub
parent 610e275ca0
commit 66ecb1c9ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -1560,9 +1560,7 @@ def worker(c, verbose: bool = False):
Launches a django-q2 cluster to process background tasks.
Ref: https://django-q2.readthedocs.io
"""
cmd = f'qcluster -v {2 if verbose else 0}'
manage(c, cmd, pty=True)
manage(c, 'qcluster', pty=True, verbose=verbose)
@task(post=[static, server])