diff options
| author | Adam Soltys <[email protected]> | 2023-12-04 22:29:23 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-12-05 08:23:38 -0800 |
| commit | e98ca84881152632a2e06e4376408c204644f3ad (patch) | |
| tree | 3d461bb56b7cbce9d65931816c9c61eb09e55c73 /index.js | |
| parent | ece2e424fb00a5480b1cf0630ee6c237ec1c170a (diff) | |
| download | coinos-server-e98ca84881152632a2e06e4376408c204644f3ad.tar.gz coinos-server-e98ca84881152632a2e06e4376408c204644f3ad.zip | |
stop sending rates
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -4,7 +4,7 @@ import { auth, optional } from "$lib/auth"; import { fillPool } from "$lib/nostr"; import { listenForLightning } from "$lib/lightning"; import { getLocations } from "$lib/locations"; -import { getRates, sendRates } from "$lib/rates"; +import { getRates } from "$lib/rates"; import { sendHeartbeat } from "$lib/sockets"; import { err } from "$lib/logging"; @@ -29,8 +29,6 @@ try { } setTimeout(listenForLightning, 2000); - -setInterval(sendRates, 1000); setInterval(sendHeartbeat, 2000); app.get("/balances", info.balances); |
