timeouts

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BatchTimeout = 2 * time.Second

Within serverCollectBatch - If at least one chunk is added to the batch and no new chunks are added in BatchTimeout period, the batch will be returned.

View Source
var FailedPeerSkipDelay = 20 * time.Second

FailedPeerSkipDelay is the time we consider a peer to be skipped for a particular request/chunk, because this peer failed to deliver it during the SearchTimeout interval

View Source
var FetcherGlobalTimeout = 10 * time.Second

FetcherGlobalTimeout is the max time a node tries to find a chunk for a client, after which it returns a 404 Basically this is the amount of time a singleflight request for a given chunk lives

View Source
var FetcherSlowChunkDeliveryThreshold = 5 * time.Second

FetcherSlowChunkDeliveryThreshold is the threshold above which we log a slow chunk delivery in netstore

View Source
var SearchTimeout = 1500 * time.Millisecond

SearchTimeout is the max time requests wait for a peer to deliver a chunk, after which another peer is tried

View Source
var SyncBatchTimeout = 10 * time.Second

how long should the downstream peer wait for an open batch from the upstream peer

View Source
var SyncerClientWaitTimeout = 20 * time.Second

SyncerClientWaitTimeout is the max time a syncer client waits for a chunk to be delivered during syncing

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL