@@ -11,7 +11,7 @@ It uses a quorum and connects to multiple [Providers](Provider) as backends,
11
11
each configured with a //priority// and a //weight// .
12
12
13
13
When a request is made, the request is dispatched to multiple backends, randomly
14
- chosen (higher priority backends are always selected first) and the results from
14
+ chosen (lower-value priority backends are always selected first) and the results from
15
15
each are compared against the others. Only once the quorum has been reached will that
16
16
result be accepted and returned to the caller.
17
17
@@ -40,9 +40,9 @@ _property: fallbackProviderConfig.provider => [[Provider]]
40
40
The provider for this configuration.
41
41
42
42
_property: fallbackProviderConfig.priority => number
43
- The priority used for the provider. Higher priorities are favoured over lower
44
- priorities. If multiple providers share the same priority, they are chosen
45
- at random.
43
+ The priority used for the provider. Lower-value priorities are favoured over
44
+ higher-value priorities. If multiple providers share the same priority, they
45
+ are chosen at random.
46
46
47
47
_property: fallbackProviderConfig.stallTimeout => number
48
48
The timeout (in ms) after which another [[Provider]] will be attempted. This
@@ -156,7 +156,7 @@ WebSockets are much more intensive on your server resources, as they must manage
156
156
and maintain the state for each client. For this reason, many services may also
157
157
charge additional fees for using their WebSocket endpoints.
158
158
159
- _property: new ethers.provider .WebSocketProvider([ url [ , network ] ])
159
+ _property: new ethers.providers .WebSocketProvider([ url [ , network ] ])
160
160
Returns a new [[WebSocketProvider]] connected to //url// as the //network//.
161
161
162
162
If //url// is unspecified, the default ``"ws:/\/localhost:8546"`` will be used.
0 commit comments