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

groob

06/06/2018, 11:19 AM
there is also a flag that controls the intervals between attempts
m

Mustafa

06/06/2018, 12:28 PM
std::string TLSEnrollPlugin::enroll() { ... for (size_t i = 1; i <= FLAGS_config_tls_max_attempts; i++) { ... LOG(WARNING) << “Failed enrollment request to ” << uri << ” (” << status.what() << “) retrying...“; sleepFor(i * i * 1000); } ... } Each retry should take i^2 seconds. am I right?
5 Views