diff options
Diffstat (limited to 'debuginfod/debuginfod.cxx')
-rw-r--r-- | debuginfod/debuginfod.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 3717aa82..cb0e1f3b 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -375,7 +375,6 @@ static bool scan_rpms = false; static vector<string> extra_ddl; static regex_t file_include_regex; static regex_t file_exclude_regex; -static int test_webapi_sleep; /* testing only */ static bool traverse_logical; static void set_metric(const string& key, int64_t value); @@ -1201,9 +1200,6 @@ handler_cb (void * /*cls*/, if (verbose) obatched(clog) << conninfo(connection) << " " << method << " " << url << endl; - if (test_webapi_sleep) - sleep (test_webapi_sleep); - try { if (string(method) != "GET") @@ -2484,10 +2480,6 @@ main (int argc, char *argv[]) if (rc != 0) error (EXIT_FAILURE, 0, "regcomp failure: %d", rc); - const char* test_webapi_sleep_str = getenv("DEBUGINFOD_TEST_WEBAPI_SLEEP"); - if (test_webapi_sleep_str) - test_webapi_sleep = atoi (test_webapi_sleep_str); - /* Parse and process arguments. */ int remaining; argp_program_version_hook = print_version; // this works |