Open Skrattoune opened 6 months ago
I implemented some ToDos that you let in the code of task.py:
task.py
signal_kwargs = { # TODO: move parts into huey_monitor.models.SignalInfoManager 'hostname': get_hostname(), 'pid': os.getpid(), 'thread': threading.current_thread().name, 'signal_name': signal, }
and
last_signal = SignalInfoModel.objects.create( # TODO: move parts into huey_monitor.models.SignalInfoManager hostname=get_hostname(), pid=os.getpid(), thread=threading.current_thread().name, task_id=task_model_instance.pk, signal_name='unknown', progress_count=task_model_instance.progress_count, )
This is needed for the upcoming PR.
Best regards
I implemented some ToDos that you let in the code of
task.py
:and
This is needed for the upcoming PR.
Best regards