Open joaquimds opened 11 months ago
There was another issue similar to this: https://github.com/Koed00/django-q/issues/434
But I believe this issue is different. It occurs in a different part of the code, here: https://github.com/Koed00/django-q/blob/master/django_q/cluster.py#L477
This can be fixed in the same way as the previous issue, with:
database_to_use = {"using": Conf.ORM} if not Conf.HAS_REPLICA else {} with db.transaction.atomic(**database_to_use):
There was another issue similar to this: https://github.com/Koed00/django-q/issues/434
But I believe this issue is different. It occurs in a different part of the code, here: https://github.com/Koed00/django-q/blob/master/django_q/cluster.py#L477
This can be fixed in the same way as the previous issue, with: