fix(reset): Restarting app after 4 hours, not 8

This commit is contained in:
Chris Troutner
2021-09-17 16:23:47 -07:00
parent 6692d234da
commit fdf3141c91
+2 -2
View File
@@ -94,12 +94,12 @@ class Server {
// Attach the other IPFS controllers
await controllers.attachControllers(app)
// ipfs-coord has a memory leak. This app shuts down after 8 hours. It
// ipfs-coord has a memory leak. This app shuts down after 4 hours. It
// expects to be run by Docker or pm2, which can automatically restart
// the app.
setTimeout(function () {
process.exit(0)
}, 60000 * 60 * 8)
}, 60000 * 60 * 4)
return app
} catch (err) {