mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: don't try to acquire if we are getting errors
If transport goes into error state too often, fail instead of trying to acquire it again. This avoids getting into a tight acquire->fail->reacquire loop.
This commit is contained in:
parent
397059017b
commit
13a9964a71
3 changed files with 41 additions and 8 deletions
|
|
@ -601,6 +601,8 @@ struct spa_bt_transport {
|
|||
int acquire_refcount;
|
||||
bool acquired;
|
||||
bool keepalive;
|
||||
int error_count;
|
||||
uint64_t last_error_time;
|
||||
int fd;
|
||||
uint16_t read_mtu;
|
||||
uint16_t write_mtu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue