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

Remove longer idle timeout #608

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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