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

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
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

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";