Browse Source

max restant

master
Tykayn 4 months ago committed by tykayn
parent
commit
f636b308c0
  1. 2
      importers/adl.ts

2
importers/adl.ts

@ -64,7 +64,7 @@ async function runImportEvents() {
console.log('nouveaux évènements à ajouter: ', utilsTools.newEvents.length);
let limiter = parserConfig.limit_persistence_of_new_events;
let counter = 0;
let counter_max = parserConfig.max_new_events;
let counter_max = Math.max(parserConfig.max_new_events,utilsTools.newEvents.length);
utilsTools.newEvents.forEach((pair: any) => {
let graphQLquery = pair.newQuery;

Loading…
Cancel
Save