Test
This commit is contained in:
parent
5910414e39
commit
aca40de484
|
@ -35,6 +35,10 @@ async function fetchEvents() {
|
|||
setTimeout(fetchEvents, 1000);
|
||||
}
|
||||
|
||||
fetchEvents();
|
||||
(async () => {
|
||||
await getLastEventIndex();
|
||||
log.info("Event watcher started.");
|
||||
await fetchEvents();
|
||||
})();
|
||||
|
||||
module.exports = emitter;
|
Loading…
Reference in a new issue