aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-04 22:29:23 -0800
committerAdam Soltys <[email protected]>2023-12-05 08:23:38 -0800
commite98ca84881152632a2e06e4376408c204644f3ad (patch)
tree3d461bb56b7cbce9d65931816c9c61eb09e55c73 /index.js
parentece2e424fb00a5480b1cf0630ee6c237ec1c170a (diff)
downloadcoinos-server-e98ca84881152632a2e06e4376408c204644f3ad.tar.gz
coinos-server-e98ca84881152632a2e06e4376408c204644f3ad.zip
stop sending rates
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.js b/index.js
index a72a9da6..9888f7d2 100644
--- a/index.js
+++ b/index.js
@@ -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);