feat: Adjust timer of ticket remote message sending service to run every 5 seconds

feat-scaling-ticket-remote-creation
adriano 2024-04-23 20:47:10 -03:00
parent 5a0ed8368d
commit 3ee99afebf
1 changed files with 2 additions and 2 deletions

View File

@ -69,10 +69,10 @@ const schedule = async () => {
} catch (error) {
console.log("error on schedule: ", error);
} finally {
timer = setInterval(schedule, 10000);
timer = setInterval(schedule, 5000);
}
};
timer = setInterval(schedule, 10000);
timer = setInterval(schedule, 5000);
export default schedule;