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:
Alexander Holliday authored and GitHub committed 2024-07-28 13:52:15 -07:00
1 parent db66ba849b
commit 9cba53f22c
2 files changed
+67

No files matched your search

+2
View File
@@ -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}`, {