You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following up from #57 (comment). git push rhcloud takes ~7min :-(
Luckily it doens't cause downtime because I'm scaled to at least 2 gears, and they're upgraded one by one.
I could add .openshift/markers/hot_deploy file which I thought is bad because it doesn't restart server.
But Openshift runs nodejs under https://www.npmjs.com/package/supervisor (unless I add .openshift/markers/use_npm, which also prevents hot_deploy) which should restart on hot deploy:
A little supervisor script for nodejs. It runs your program, and watches for code changes, so you can have hot-code reloading-ish behavior, without worrying about memory leaks and making sure you clean up all the inter-module references, and without a whole new require system.
Following up from #57 (comment).
git push rhcloud
takes ~7min :-(Luckily it doens't cause downtime because I'm scaled to at least 2 gears, and they're upgraded one by one.
I could add
.openshift/markers/hot_deploy
file which I thought is bad because it doesn't restart server.But Openshift runs nodejs under https://www.npmjs.com/package/supervisor (unless I add
.openshift/markers/use_npm
, which also prevents hot_deploy) which should restart on hot deploy:The deploy code is at https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-nodejs/bin/control
The text was updated successfully, but these errors were encountered: