Commit 5e5afe9
authored
Close any database connections at the end of request (#661)
Close any database connections at the end of each request
There is no need to reuse database connections for the LSP server, as
the overhead of establishing new connections locally is negligible.
Therefore, we can close any active database connections as soon as
we're done with the request.1 parent 9a52310 commit 5e5afe9
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
| |||
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
496 | 509 | | |
497 | 510 | | |
498 | 511 | | |
| |||
0 commit comments