Commit a4eb8da
committed
perf(mcp): move table creation to background task
Moving create_tables to the background task prevents blocking the main
thread during startup, allowing the MCP server to respond to the
initial handshake immediately. This significantly improves perceived
performance and connectivity with clients that have short timeouts.
Signed-off-by: Roman Gushchin <[email protected]>1 parent 59694ed commit a4eb8da
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5178 | 5178 | | |
5179 | 5179 | | |
5180 | 5180 | | |
5181 | | - | |
5182 | | - | |
5183 | | - | |
5184 | 5181 | | |
5185 | 5182 | | |
5186 | 5183 | | |
5187 | 5184 | | |
5188 | 5185 | | |
5189 | 5186 | | |
5190 | 5187 | | |
| 5188 | + | |
| 5189 | + | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
5191 | 5193 | | |
5192 | 5194 | | |
5193 | 5195 | | |
| |||
0 commit comments