font change

This commit is contained in:
ntr committed 2023-01-15 12:07:47 +11:00
1 parent 6c3cac7381
commit 00cb224fb3
7 files changed
+104 -33

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ async function start() {
notify,
} = createServices(log);
await notify.connect();
await notify.listen();
api.listen();
}
+2 -2
View File
@@ -45,7 +45,7 @@ export default function createNotify(log: Log, pg: Pg, events) {
subscriber.notifications.on(LISTINGS_CHANNEL, handleListings);
subscriber.notifications.on(WANTS_CHANNEL, handleWants);
async function connect() {
async function listen() {
await subscriber.connect();
await Promise.all([
subscriber.listenTo(OFFERS_CHANNEL),
@@ -55,5 +55,5 @@ export default function createNotify(log: Log, pg: Pg, events) {
]);
}
return { connect };
return { listen };
}