mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 10:46:48 +02:00
Ensure maintenance are always runned at the right moment (#5903)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
4d51aaa6f8
commit
c7bacbb7fe
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue