Skip to content

Commit

Permalink
feat: reduced cron time to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLzq committed Oct 9, 2023
1 parent c96a425 commit 56e8fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/fakePub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const updateData = (client: MqttClient) => {
return
}

cron.schedule('*/45 * * * * *', async (): Promise<void> => {
cron.schedule('*/30 * * * * *', async (): Promise<void> => {
pubDebug(`Job started at: ${new Date().toISOString()}`)

const { id, moduleId, sensorId } = DEMO_CLIENT
Expand Down

0 comments on commit 56e8fd7

Please sign in to comment.