Skip to content

Commit

Permalink
use idle_timeout for the server
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Mar 30, 2018
1 parent efef36f commit 008e552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/activity/events.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function Base.run(listener, args...; host = nothing, port = nothing, kwargs...)
if host != nothing || port != nothing
Base.depwarn("The `host` and `port` keywords are deprecated, use `run(listener, host, port, args...; kwargs...)`", :run)
end
run(listener, host, port, args...; kwargs...)
run(listener, host, port, args...; idle_timeout=20, kwargs...)
end

function Base.run(listener::EventListener, host::HTTP.IPAddr, port::Int, args...; kwargs...)
Expand Down

0 comments on commit 008e552

Please sign in to comment.