forked from security/hakurei
internal/pipewire: raise Core::Sync timeout
Hopefully relieves spurious failures on a very overloaded system. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -514,7 +514,7 @@ var ErrNotDone = errors.New("did not receive a Core::Done event targeting previo
|
|||||||
const (
|
const (
|
||||||
// syncTimeout is the maximum duration [Core.Sync] is allowed to take before
|
// syncTimeout is the maximum duration [Core.Sync] is allowed to take before
|
||||||
// receiving [CoreDone] or failing.
|
// receiving [CoreDone] or failing.
|
||||||
syncTimeout = 5 * time.Second
|
syncTimeout = 10 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
// Sync queues a [CoreSync] message for the PipeWire server and initiates a Roundtrip.
|
// Sync queues a [CoreSync] message for the PipeWire server and initiates a Roundtrip.
|
||||||
|
|||||||
Reference in New Issue
Block a user