-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add oracle service for remote shutdown #531
Conversation
...baseConfig.bridgeConfig, | ||
id: 'shutdown-manager', | ||
name: 'shutdown-manager', | ||
pollingInterval: 120000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to make this parameter configurable in order to avoid re-building of the docker image if it is necessary to change the interval?
oracle/src/watcher.js
Outdated
async function main({ sendToQueue, sendToWorker }) { | ||
try { | ||
if (await isShutdowned()) { | ||
logger.info('Oracle watcher was suspended via the remote shutdown process') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is my understanding correct and if the service was shutdown this message will be output in the log periodically? Does it make sense to output it only once to not flood the logs with the same message?
No description provided.