Ajustado el periodo de comprobaciones
This commit is contained in:
@@ -33,7 +33,7 @@ async function startCron() {
|
||||
|
||||
const volcadoLineasTask = new TaskVolcadoLineas(httpClient, objeniousLineRepository)
|
||||
|
||||
const PERIODO_PETICIONES = 10 * 60 * 60
|
||||
const PERIODO_PETICIONES = 10 * 60 * 1000
|
||||
const interval = setInterval(async () => {
|
||||
try {
|
||||
await objTask.getPendingOperations()
|
||||
|
||||
Reference in New Issue
Block a user