Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can send msg by long connection socket ? why reconect socket in every flusing ? #49

Open
wuhujun opened this issue Dec 25, 2018 · 1 comment

Comments

@wuhujun
Copy link

wuhujun commented Dec 25, 2018

can send msg by long connection socket ? why reconect socket in every flusing ?

@idanga
Copy link

idanga commented Jun 23, 2020

@wuhujun the connections are pooled (see for example the lua_socket_pool_size directive), and in particular refer to https://github.com/cloudflare/lua-resty-logger-socket/blob/master/lib/resty/logger/socket.lua#L226 (setkeepalive)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants