core: change default timeout to 1s

This commit is contained in:
2025-12-19 02:22:41 -06:00
parent 664c731f74
commit f96064a29e

View File

@@ -56,7 +56,7 @@ static int create_socket(struct setting const *settings)
print_err("Failed to setsockopt(): ttl");
return -1;
}
struct timeval tv = {2, 0};
struct timeval tv = {1, 0};
ret = setsockopt(sockfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));
if (ret != 0)
{