diff options
| author | Adam Soltys <[email protected]> | 2023-04-04 00:05:23 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-04-04 00:05:23 -0700 |
| commit | 0aea60330afff02ad8bb525c5fddd7c367abf03a (patch) | |
| tree | 52e0ce713368f5ab0f4d40c37f5194dcd55ae1f2 /index.js | |
| parent | 44c59b03f100792708425bbcd806422fa921f1c5 (diff) | |
| download | coinos-server-0aea60330afff02ad8bb525c5fddd7c367abf03a.tar.gz coinos-server-0aea60330afff02ad8bb525c5fddd7c367abf03a.zip | |
skip processed payments
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,11 +19,12 @@ import payments from "$routes/payments"; import requests from "$routes/requests"; fillPool(); -listenForLightning(); getLocations(); getRates(); +setTimeout(listenForLightning, 2000); + setInterval(sendRates, 1000); setInterval(sendHeartbeat, 2000); |
