1
0
mirror of https://github.com/Yonle/bostr.git synced 2025-03-18 13:51:56 +01:00

Merge pull request from akiomik/fix-typos

Fix typos
This commit is contained in:
Yonle 2023-12-19 22:12:38 +07:00 committed by GitHub
commit 5ae56bd8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

@ -85,7 +85,7 @@ module.exports = (ws, req) => {
case "AUTH":
if (auth(authKey, data[1], ws, req)) {
ws.pubkey = data[1].pubkey;
console.log(process.pid, "---", ws.id, "succesfully authorized as", ws.pubkey, private_keys[ws.pubkey] ? "(admin)" : "(user)");
console.log(process.pid, "---", ws.id, "successfully authorized as", ws.pubkey, private_keys[ws.pubkey] ? "(admin)" : "(user)");
if (authorized) return;
relays.forEach(_ => newConn(_, ws.id));
authorized = true;

@ -13,11 +13,11 @@ module.exports = {
// Log about bouncer connection with relays?
log_about_relays: false,
// Time before reconnect to relays in miliseconds.
// Time before reconnect to relays in milliseconds.
reconnect_time: 5000,
// Wait for every connected relays send EOSE.
// Could improve accurancy on received events.
// Could improve accuracy on received events.
//
// Depending on your configured relays,
// It may could cause loading problems in client due to slow EOSE from bouncer.
@ -25,12 +25,12 @@ module.exports = {
wait_eose: true,
// Pause an subscription from receiving further events after reached to <filter.limit>
// Could save client's bandwdith.
// Could save client's bandwidth.
//
// Depending on <wait_eose> settings, It could either miss some events.
pause_on_limit: true,
// EOSE timeout in miliseconds
// EOSE timeout in milliseconds
eose_timeout: 2300,
// Maximum of received EOSE from relays to send EOSE to client.