Tweak "--wait" time max
All checks were successful
Create releases with ArchLinux pkg / check-and-build-and-release (push) Successful in 12s

This commit is contained in:
Stephen Seo 2024-07-21 12:51:43 +09:00
parent ea6f59fbc5
commit 2c9f3b0452

View file

@ -23,7 +23,7 @@ void internal_wait_on_obs_frontend_event(UnixSocketHandler *handler, UnixSocketE
duration.tv_nsec = 1000000;
unsigned int ticks = 0;
while(atomic_load(&handler->callback_var) != (event & UNIX_SOCKET_EVENT_MASK)) {
if (++ticks > 1400) {
if (++ticks > 5000) {
break;
} else {
thrd_sleep(&duration, 0);