DAR-7: Implement a dar-server.js file

This commit is contained in:
John Lyon-Smith
2018-02-23 14:32:52 -08:00
parent e80f5490d5
commit dc86f8a9d8
4 changed files with 126 additions and 10 deletions

View File

@@ -1,9 +0,0 @@
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