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

why cosbench hang up 30 seconds when obj-service has network error #434

Open
weingithub opened this issue Apr 29, 2024 · 1 comment
Open

Comments

@weingithub
Copy link

weingithub commented Apr 29, 2024

we use vip to provide HA, but in out test, when do network error in node1,the vip change to node2 aftter 4 seconds, but capture package in cosbench client, there is 30 second with no packet.

can anyone tell me why is 30 seconds and how to short it?
look the time between 17:50:59 and 17:51:29.
111-2024-4-29 17-52

thanks!
@mcspring @Niklas974

@kisscelia
Copy link

maybe the default timeout is 30s

    // --------------------------------------------------------------------------
    // CONNECTION
    // --------------------------------------------------------------------------
    String CONN_TIMEOUT_KEY = "timeout";
    int CONN_TIMEOUT_DEFAULT = 30000;

http's ConnectionTimeout and SocketTimeout are related to this parameter(timeout).

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