diff --git a/src/api/bridge.ts b/src/api/bridge.ts index 5b9255121..ac64d2418 100644 --- a/src/api/bridge.ts +++ b/src/api/bridge.ts @@ -3,8 +3,8 @@ import SERVERS from "@/servers.json"; import { Community, Entry, Subscription } from "@/entities"; export const bridgeServer = new Client(SERVERS, { - timeout: 3000, - failoverThreshold: 3, + timeout: 1000, + failoverThreshold: 1, consoleOnFailover: true }); export const dataLimit = typeof window !== "undefined" && window.screen.width < 540 ? 5 : 20 || 20; diff --git a/src/api/hive.ts b/src/api/hive.ts index 72d79227a..bb1134a4d 100644 --- a/src/api/hive.ts +++ b/src/api/hive.ts @@ -35,8 +35,8 @@ import { isCommunity, parseAsset, vestsToRshares } from "@/utils"; import { OrdersDataItem } from "@/entities/hive/orders-data-item"; export const client = new Client(SERVERS, { - timeout: 3000, - failoverThreshold: 3, + timeout: 1000, + failoverThreshold: 1, consoleOnFailover: true });