Wiredcraft / dashy

The dashboard showing metrics in the office.
0 stars 1 forks source link

Webhook for restarting client and server #124

Closed bbss closed 10 years ago

bbss commented 10 years ago

In order to have a continuously updated staging environment. The server should listen to requests to close down and send the connected web apps to reconnect after a duration. This signal will be sent if all is okay on deploying a new version of the server or web client.

A duration of 2 minutes should be enough for the new server to deploy. The server will listen to a webhook address at /reset-dashy-server and send a websockets message that will initiate all the connected web-apps to refresh at the time-out.