justtrackio / gosoline

Gosoline is our framework which fuels all of our Golang applications
MIT License
96 stars 50 forks source link

httpserver: don't cancel requests for write operations externally; #1178

Closed selm0 closed 1 week ago

selm0 commented 2 weeks ago

Currently, there is a risk for write operations in the httpserver to fail, as we don't have any transactions. To mitigate this, we should make the context used for the write operation independent of the request context. Contains a minor adjustment for mysql logging, where everything is an error - but the root cause may be a context cancellation.