diff options
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 626198de0..600645fa1 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include "gnunet_testbed_service.h" | 37 | #include "gnunet_testbed_service.h" |
38 | 38 | ||
39 | #define FIND_TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 90) | 39 | #define FIND_TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 90) |
40 | #define SEARCHES_IN_PARALLEL 2 | 40 | #define SEARCHES_IN_PARALLEL 10 |
41 | #define ANNOUNCE_DELAY GNUNET_TIME_relative_multiply(\ | 41 | #define ANNOUNCE_DELAY GNUNET_TIME_relative_multiply(\ |
42 | GNUNET_TIME_UNIT_MILLISECONDS,\ | 42 | GNUNET_TIME_UNIT_MILLISECONDS,\ |
43 | 300) | 43 | 300) |
@@ -1474,9 +1474,9 @@ policy_filename_cb (void *cls, const char *filename) | |||
1474 | 1474 | ||
1475 | peer->policy_file = GNUNET_strdup (filename); | 1475 | peer->policy_file = GNUNET_strdup (filename); |
1476 | 1476 | ||
1477 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Creating peer %i on host %s for policy file %s\n", | 1477 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1478 | peer->id, | 1478 | "Creating peer %i on host %s for policy file %s\n", |
1479 | GNUNET_TESTBED_host_get_hostname (peer->host_handle), | 1479 | peer->id, GNUNET_TESTBED_host_get_hostname (peer->host_handle), |
1480 | filename); | 1480 | filename); |
1481 | 1481 | ||
1482 | /* Set configuration options specific for this peer | 1482 | /* Set configuration options specific for this peer |
@@ -1484,7 +1484,8 @@ policy_filename_cb (void *cls, const char *filename) | |||
1484 | peer->cfg = GNUNET_CONFIGURATION_dup (cfg); | 1484 | peer->cfg = GNUNET_CONFIGURATION_dup (cfg); |
1485 | GNUNET_CONFIGURATION_set_value_number (peer->cfg, "REGEXPROFILER", | 1485 | GNUNET_CONFIGURATION_set_value_number (peer->cfg, "REGEXPROFILER", |
1486 | "MAX_PATH_COMPRESSION", | 1486 | "MAX_PATH_COMPRESSION", |
1487 | (unsigned long long)max_path_compression); | 1487 | (unsigned long long) |
1488 | max_path_compression); | ||
1488 | GNUNET_CONFIGURATION_set_value_string (peer->cfg, "REGEXPROFILER", | 1489 | GNUNET_CONFIGURATION_set_value_string (peer->cfg, "REGEXPROFILER", |
1489 | "POLICY_FILE", filename); | 1490 | "POLICY_FILE", filename); |
1490 | 1491 | ||