feat: Adjust timer of ticket remote message sending service to run every 5 seconds
parent
5a0ed8368d
commit
3ee99afebf
|
@ -69,10 +69,10 @@ const schedule = async () => {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("error on schedule: ", error);
|
console.log("error on schedule: ", error);
|
||||||
} finally {
|
} finally {
|
||||||
timer = setInterval(schedule, 10000);
|
timer = setInterval(schedule, 5000);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
timer = setInterval(schedule, 10000);
|
timer = setInterval(schedule, 5000);
|
||||||
|
|
||||||
export default schedule;
|
export default schedule;
|
||||||
|
|
Loading…
Reference in New Issue