fix: Handle the websocet in handle_socket itself #34

Manually merged
awiteb merged 1 commit from awiteb/fix-multi-spawn into master 2024-07-28 07:44:01 +02:00 AGit
Owner

I have removed the task spwaning in handle_socket function, because Salvo
already spawn handle_socket function in a new task when upgrading the
connection to websocket. So, there is no need to spawn a new task in
handle_socket function.

refs:

I have removed the task spwaning in `handle_socket` function, because Salvo already spawn `handle_socket` function in a new task when upgrading the connection to websocket. So, there is no need to spawn a new task in `handle_socket` function. refs: - Salvo task spawning: https://github.com/salvo-rs/salvo/blob/main/crates/extra/src/websocket.rs#L247-L256
awiteb added 1 commit 2024-07-27 11:32:05 +02:00
fix: Handle the websocet in handle_socket itself
All checks were successful
DCO checker / DCO checker (pull_request) Successful in 4s
Rust CI / Rust CI (pull_request) Successful in 4m16s
cc59b02b2d
Signed-off-by: Awiteb <a@4rs.nl>
awiteb requested review from Amjad50 2024-07-27 11:32:27 +02:00
Amjad50 approved these changes 2024-07-27 12:00:02 +02:00
awiteb added the
Status
Approved
Kind/Bug Fix
labels 2024-07-27 12:28:48 +02:00
awiteb manually merged commit e61de9a8b1 into master 2024-07-28 07:44:01 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: OxideTalis/oxidetalis#34
No description provided.