France-ioi / AlgoreaBackend

Backend for the new Algorea platform
MIT License
1 stars 2 forks source link

Make sure the call of the propagation endpoint is not inside a database transaction #1081

Open GeoffreyHuck opened 2 months ago

GeoffreyHuck commented 2 months ago

Make sure the HTTP call is never made inside a database transaction.

GeoffreyHuck commented 1 month ago

Better to do this before https://github.com/France-ioi/AlgoreaBackend/issues/1047 where we put all propagations in async, otherwise we might face issues with long blocking transactions because of the endpoint call.