Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
anjia0532 authored Sep 10, 2017
1 parent 15cc1c2 commit 9cb08eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/logger/socket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ local function _do_flush()
end

if (sock_type ~= 'udp') then
ok, err = sock:setkeepalive(0, pool_size)
ok, err = sock:setkeepalive(timeout, pool_size)
if not ok then
return nil, err
end
Expand Down

0 comments on commit 9cb08eb

Please sign in to comment.