Browse Source

-clean logging dir before running profiler

Julius Bünger 8 years ago
parent
commit
5d82ad8f91
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/rps/test_rps.c
  2. 1 1
      src/rps/test_rps.conf

+ 2 - 1
src/rps/test_rps.c

@@ -1193,8 +1193,9 @@ main (int argc, char *argv[])
 
     num_peers = 50;
 
+    (void) GNUNET_DISK_directory_remove ("/tmp/rps/");
     GNUNET_DISK_directory_create ("/tmp/rps/");
-    //timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90);
+    timeout = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 90);
   }
 
   rps_peers = GNUNET_new_array (num_peers, struct RPSPeer);

+ 1 - 1
src/rps/test_rps.conf

@@ -27,7 +27,7 @@ MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1
 OVERLAY_TOPOLOGY = SMALL_WORLD
 #SCALE_FREE_TOPOLOGY_CAP = 
 
-OVERLAY_RANDOM_LINKS = 5
+OVERLAY_RANDOM_LINKS = 25
 
 SETUP_TIMEOUT = 2 m