From e98ca84881152632a2e06e4376408c204644f3ad Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 4 Dec 2023 22:29:23 -0800 Subject: stop sending rates --- lib/rates.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/rates.js b/lib/rates.js index 2fce4f42..a392c913 100644 --- a/lib/rates.js +++ b/lib/rates.js @@ -1,6 +1,5 @@ import got from "got"; import config from "$config"; -import { broadcast } from "$lib/sockets"; import store from "$lib/store"; import { err, warn } from "$lib/logging"; import { g, s } from "$lib/db"; @@ -38,7 +37,6 @@ let connect = async () => { return ws; }; -export let sendRates = () => broadcast("rate", store.last); export let getRates = async () => { connect(); -- cgit v1.2.3