Skip to content

Commit c7bacbb

Browse files
Ensure maintenance are always runned at the right moment (#5903)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
1 parent 4d51aaa commit c7bacbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/maintenance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class Maintenance extends BeanModel {
243243
try {
244244
this.beanMeta.status = "scheduled";
245245

246-
let startEvent = (customDuration = 0) => {
246+
let startEvent = async (customDuration = 0) => {
247247
log.info("maintenance", "Maintenance id: " + this.id + " is under maintenance now");
248248

249249
this.beanMeta.status = "under-maintenance";

0 commit comments

Comments
 (0)