You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello friends, I'm using this app on a django project in windows and getting these two problems:
1
I want to store the notifications so they won't get missed. This seems to be working however when I run the worker with dj listen --recover --worker-start-method=spawn I get something:
2024-11-04 12:33:20,694 INFO Processing all notifications for channel pycensus.oldcensus.channels.SampleChannel
2024-11-04 12:33:20,695 INFO Found notifications: <generator object QuerySet._iterator at 0x0000025C8CB4BA40>
2024-11-04 12:33:20,708 INFO Listening for notifications...
however the handlers for the old notifications are not running (I've got a print function there and it doesn't display)
2
When I run two handlers together I get the following messages on both:
2024-11-04 12:43:37,311 INFO Processing notification for pycensus.oldcensus.channels.SampleChannel
2024-11-04 12:43:37,315 INFO Could not obtain a lock on notification 2787277
I would expect one of the handlers to obtain the lock.
If it helps, here is the definition of my channel:
Hello friends, I'm using this app on a django project in windows and getting these two problems:
1
I want to store the notifications so they won't get missed. This seems to be working however when I run the worker with
dj listen --recover --worker-start-method=spawn
I get something:however the handlers for the old notifications are not running (I've got a print function there and it doesn't display)
2
When I run two handlers together I get the following messages on both:
I would expect one of the handlers to obtain the lock.
If it helps, here is the definition of my channel:
and my handler
I'm using Django==5.1.2, django-pgpubsub==1.3.0, psql server 15.8 and windows 11.
The text was updated successfully, but these errors were encountered: