Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
remove longer idle timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Jan 14, 2022
1 parent cea01eb commit caab4a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/GLib/signals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,12 @@ function uv_prepare(src::Ptr{Nothing}, timeout::Ptr{Cint})
else
ccall(:uv_update_time, Nothing, (Ptr{Nothing},), evt)
tmout_ms = ccall(:uv_backend_timeout, Cint, (Ptr{Nothing},), evt)
tmout_min::Cint = (uv_pollfd::_GPollFD).fd == -1 ? 10 : 5000

# TODO: Reinstate this longer conditional timeout if blocking is resolved
# see https://github.com/JuliaLang/julia/issues/35552
# tmout_min::Cint = (uv_pollfd::_GPollFD).fd == -1 ? 10 : 5000
tmout_min::Cint = 10

if tmout_ms < 0 || tmout_ms > tmout_min
tmout_ms = tmout_min
end
Expand Down

0 comments on commit caab4a3

Please sign in to comment.