Feat/db/maintenance window (#472)
* Added comment to show where maintenance window should be applied * Add maintenance window schema * Added userID to model
This commit is contained in:
1 parent
db66ba849b
commit
9cba53f22c
2 files changed
+67
No files matched your search
@@ -59,6 +59,8 @@ class JobQueue {
|
||||
QUEUE_NAME,
|
||||
async (job) => {
|
||||
try {
|
||||
// TODO wrap this in a check to see if a maintenace window is active
|
||||
// If so, don't process the job
|
||||
const res = await this.networkService.getStatus(job);
|
||||
} catch (error) {
|
||||
logger.error(`Error processing job ${job.id}: ${error.message}`, {
|
||||
|
||||
Reference in new issue
Block a user