https://github.com/osquery/osquery logo
#general
Title
# general
b

bao

03/12/2020, 10:16 PM
Why is this timeout hardcoded to 16? In the file osquery\remote\transports\tls.cpp
Copy code
options.follow_redirects(true).always_verify_peer(verify_peer_).timeout(16);
j

Jams

03/13/2020, 3:33 PM
16 seconds seems more reasonable for network unknowns than the original 4 seconds
b

bao

03/13/2020, 3:47 PM
I was wondering if it would have been a good idea to make this value configurable?
t

theopolis

03/15/2020, 11:25 PM
That's a good idea, do you mind writing a PR to turn the timeout into a flag?