Ensure maintenance are always runned at the right moment (#5903)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
pull/5846/head^2
Ionys 2025-06-12 01:42:25 +02:00 committed by GitHub
parent 4d51aaa6f8
commit c7bacbb7fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class Maintenance extends BeanModel {
try {
this.beanMeta.status = "scheduled";
let startEvent = (customDuration = 0) => {
let startEvent = async (customDuration = 0) => {
log.info("maintenance", "Maintenance id: " + this.id + " is under maintenance now");
this.beanMeta.status = "under-maintenance";