Hey there folks,
My team and I noticed that on restarting our release we run in some errors regarding fun-with-flags (fwf).
My first guess is that some part of the fwf application is not quite ready yet, but cowboy already accepts connections. The conn reaches our tracking plug, fwf dies and takes the conn with it.
My first approach would be to delay the start of cowboy until fwf is ready.
I tried this so far by adding
to the Endpoint module with no eminent effect.
Can anyone of you give me some pointers how to solve this problem?