Skip to content

Conversation

@JssDWt
Copy link

@JssDWt JssDWt commented Oct 3, 2025

Synchronous db calls block the only thread available for serving requests. By calling spawn_blocking, these database calls will happen on another thread, leaving the main thread intact to serve simple requests like v1/server_recipient

JssDWt added 2 commits October 3, 2025 09:27
Synchronous db calls block the only thread available for serving requests. By calling spawn_blocking, these database calls will happen on another thread, leaving the main thread intact to serve simple requests like v1/server_recipient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants