We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81d8b61 commit c3472a6Copy full SHA for c3472a6
backend/src/main/scala/com/softwaremill/bootzooka/http/HttpApi.scala
@@ -47,6 +47,9 @@ class HttpApi(
47
.corsInterceptor(CORSInterceptor.default[Identity])
48
.metricsInterceptor(OpenTelemetryMetrics.default[Identity](otel).metricsInterceptor())
49
.options
50
+ // when the frontend cancels a request, and the server-side logic is then interrupted, this often causes DB connections
51
+ // to be marked as broken; re-establishing might be more costly, then just running the cancelled request to completion
52
+ .copy(interruptServerLogicWhenRequestCancelled = false)
53
54
val allEndpoints: List[ServerEndpoint[Any, Identity]] =
55
// The /api/v1 context path is added using Swagger's options, not to the endpoints.
0 commit comments