*/
#define HIGH_PORT 56000
-#define MAX_OUTSTANDING_CONNECTIONS 100
+#define MAX_OUTSTANDING_CONNECTIONS 200
-#define MAX_CONCURRENT_HOSTKEYS 100
+#define MAX_CONCURRENT_HOSTKEYS 200
-#define MAX_CONCURRENT_STARTING 100
+#define MAX_CONCURRENT_STARTING 200
#define MAX_CONCURRENT_SHUTDOWN 100
-#define CONNECT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 45)
+#define CONNECT_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 180)
-#define CONNECT_ATTEMPTS 21
+#define CONNECT_ATTEMPTS 30
/**
* Prototype of a function called whenever two peers would be connected
GNUNET_free_non_null(data);
return connect_attempts;
}
- GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Read next peer index %u\n", first_peer_index);
while((buf[count] != ':') && (count < frstat.st_size - 1))
count++;
count++;
GNUNET_free_non_null(data);
return connect_attempts;
}
- GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Read second peer index %u\n", second_peer_index);
/* Assume file is written with first peer 1, but array index is 0 */
connect_attempts += proc (pg, first_peer_index - 1, second_peer_index - 1);
while((buf[count] != '\n') && (buf[count] != ',') && (count < frstat.st_size - 1))