From 008e552ba5bd13f3d0cc7272d071bd2f2fb270ca Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Sat, 31 Mar 2018 00:23:08 +0200 Subject: [PATCH] use idle_timeout for the server --- src/activity/events.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activity/events.jl b/src/activity/events.jl index bd66aea..e26859b 100644 --- a/src/activity/events.jl +++ b/src/activity/events.jl @@ -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...)