Bogdanp/django_dramatiq

Add silent option for startup

Aberta

#120 aberto em 17 de mar. de 2022

 (3 comentários) (0 reação) (0 responsável)Python (86 forks)github user discovery
enhancementgood first issue

Métricas do repositório

Stars
 (384 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Hi,

Currently the rundramatiq management prints each tasks module it finds on startup:

* Discovered tasks module foo.tasks
* Discovered tasks module bar.tasks

This output can be quite long if you have many tasks modules.

It would be nice if this was possible to silence by adding a -v0 option to the command.

Relevant code: https://github.com/Bogdanp/django_dramatiq/blob/master/django_dramatiq/management/commands/rundramatiq.py#L176

Guia do colaborador