stash
This commit is contained in:
parent
1e448a3137
commit
fbc21b5016
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class NotificationDispatcher:
|
||||||
# Infinite loop to continuously listen for messages
|
# Infinite loop to continuously listen for messages
|
||||||
while True:
|
while True:
|
||||||
# Blocking receive to get the message from the channel layer
|
# Blocking receive to get the message from the channel layer
|
||||||
message = await self.channel_layer.receive('user_notification')
|
message = await self.channel_layer.receive('general')
|
||||||
|
|
||||||
if message:
|
if message:
|
||||||
# Process the received message
|
# Process the received message
|
||||||
|
|
Loading…
Reference in a new issue