Skip to content

Commit 6f50f1b

Browse files
fix: send messages to users
1 parent dd8161e commit 6f50f1b

File tree

1 file changed

+4
-2
lines changed
  • services/web/server/src/simcore_service_webserver/conversations

1 file changed

+4
-2
lines changed

services/web/server/src/simcore_service_webserver/conversations/_socketio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pydantic.alias_generators import to_camel
1515
from servicelib.utils import limited_as_completed
1616

17-
from ..socketio.messages import send_message_to_standard_group
17+
from ..socketio.messages import send_message_to_user
1818

1919
_MAX_CONCURRENT_SENDS: Final[int] = 3
2020

@@ -62,7 +62,9 @@ async def _send_message_to_recipients(
6262
):
6363
async for _ in limited_as_completed(
6464
(
65-
send_message_to_standard_group(app, recipient, notification_message)
65+
send_message_to_user(
66+
app, recipient, notification_message, ignore_queue=True
67+
)
6668
for recipient in recipients
6769
),
6870
limit=_MAX_CONCURRENT_SENDS,

0 commit comments

Comments
 (0)