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:
2025-12-19 00:49:33 +09:00
parent ec49c63c5f
commit 28a8dc67d2

View File

@@ -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.