mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Pass backoff options from constructor
The Client constructor supports backoff configuration. This commit exposes it to the end developer via the `peers` options object, in the `backoff` property. Example: Gun({ peers: { 'url.com/gun': { backoff: { max: 1000, factor: 0.2 } } } })
This commit is contained in:
parent
30fe844cab
commit
304265e193
Loading…
x
Reference in New Issue
Block a user