Tweak "--wait" time max
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 12s
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 12s
This commit is contained in:
parent
ea6f59fbc5
commit
2c9f3b0452
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ void internal_wait_on_obs_frontend_event(UnixSocketHandler *handler, UnixSocketE
|
||||||
duration.tv_nsec = 1000000;
|
duration.tv_nsec = 1000000;
|
||||||
unsigned int ticks = 0;
|
unsigned int ticks = 0;
|
||||||
while(atomic_load(&handler->callback_var) != (event & UNIX_SOCKET_EVENT_MASK)) {
|
while(atomic_load(&handler->callback_var) != (event & UNIX_SOCKET_EVENT_MASK)) {
|
||||||
if (++ticks > 1400) {
|
if (++ticks > 5000) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
thrd_sleep(&duration, 0);
|
thrd_sleep(&duration, 0);
|
||||||
|
|
Loading…
Reference in a new issue