Support: serverCloseComplete option (#5937)
* Support: serverCloseComplete option Callback when server has fully shutdown. Please check that all cases are covered. * handle error on startup * fix tests * test workaround * remove serverCloseComplete chech on startup failure
This commit is contained in:
@@ -330,6 +330,14 @@ module.exports.ParseServerOptions = {
|
||||
action: parsers.numberParser('schemaCacheTTL'),
|
||||
default: 5000,
|
||||
},
|
||||
serverCloseComplete: {
|
||||
env: 'PARSE_SERVER_SERVER_CLOSE_COMPLETE',
|
||||
help: 'Callback when server has closed',
|
||||
},
|
||||
serverStartComplete: {
|
||||
env: 'PARSE_SERVER_SERVER_START_COMPLETE',
|
||||
help: 'Callback when server has started',
|
||||
},
|
||||
serverURL: {
|
||||
env: 'PARSE_SERVER_URL',
|
||||
help: 'URL to your parse server with http:// or https://.',
|
||||
|
||||
Reference in New Issue
Block a user