Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion link/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ chains:

| Field | Type | Description |
|------------------------|----------|--------------------------------------------------------------------------------|
| `dispatchPollInterval` | duration | How often the dispatcher polls storage for dispatchable packets. Defaults to 5s. |
| `dispatchPollInterval` | duration | How often the dispatcher polls storage for dispatchable packets. Defaults to 1s. |
| `chainOverrides` | list | Per-chain relaying overrides (see below). |
| `connections` | list | Bidirectional connections to actively relay (see below). |

Expand Down
2 changes: 1 addition & 1 deletion link/internal/relay/dispatch/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

// DefaultPollInterval how often the dispatcher polls for dispatchable packets.
const DefaultPollInterval = 5 * time.Second
const DefaultPollInterval = 1 * time.Second

// ErrTransferAlreadyInPipeline the transfer is already being relayed.
var ErrTransferAlreadyInPipeline = errors.New("transfer already in pipeline")
Expand Down
2 changes: 1 addition & 1 deletion link/internal/relay/pipeline/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// Batch defaults applied when a chain has no overrides.
const (
DefaultBatchSize = 50
DefaultBatchTimeout = 10 * time.Second
DefaultBatchTimeout = 3 * time.Second
DefaultTimeoutBatchTimeout = time.Minute
)

Expand Down
Loading