Initial commit
This commit is contained in:
9
server/src/server.js
Normal file
9
server/src/server.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import childProcess from 'child_process'
|
||||
|
||||
const actors = [ 'api', 'email', 'image' ]
|
||||
|
||||
// TODO: spawn index.js in each of these sub-directories
|
||||
|
||||
// TODO: If any child exits, wait for a back-off period and then restart
|
||||
|
||||
// TODO: Gradually increase back-off period if process fails again too quickly
|
||||
Reference in New Issue
Block a user