From fba99b47133b07c648760cb241838036ae62f225 Mon Sep 17 00:00:00 2001 From: Semisol <45574030+Semisol@users.noreply.github.com> Date: Fri, 27 Jan 2023 18:50:50 +0300 Subject: [PATCH] Add more relays (high performance) For eden, @Cameri has said it has a load balanced setup. For nostr-pub.semisol, it's mostly running on idle right now with 8 threads and 16GB RAM. --- src/Const.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Const.ts b/src/Const.ts index ad23cc00..69344386 100644 --- a/src/Const.ts +++ b/src/Const.ts @@ -24,7 +24,9 @@ export const ProfileCacheExpire = (1_000 * 60 * 5); * Default bootstrap relays */ export const DefaultRelays = new Map([ - ["wss://relay.snort.social", { read: true, write: true }] + ["wss://relay.snort.social", { read: true, write: true }], + ["wss://eden.nostr.land", { read: true, write: true }], + ["wss://nostr-pub.semisol.dev", { read: true, write: true }] ]); /** @@ -107,4 +109,4 @@ export const SoundCloudRegex = /soundcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA- * Mixcloud regex */ -export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/ \ No newline at end of file +export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/