How can webserver restarts be handled while sending data to the api. We often get a curl_error because the connection break uppon restarts. We tried a "exec retry on error loop" but it's not working satisfactory.
Does this mean a multiserver setup? We would like to avoid a seperate panel server because of the different login urls for web/mail/db and isp panel.
Then I don't see any way to avoid the problem, you can only add some code in your api client which retries the connection when it fails.