aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_p2p.cpp')
-rw-r--r--test/test_p2p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_p2p.cpp b/test/test_p2p.cpp
index 99c28a0..1c37aa6 100644
--- a/test/test_p2p.cpp
+++ b/test/test_p2p.cpp
@@ -92,7 +92,7 @@ int main(int argc, char **argv) {
salticidae::EventContext ec;
/* test two nodes */
- MyNet net(ec, 10, 2, 2, 4096, 3, 5);
+ MyNet net(ec, MyNet::Config().conn_timeout(5).ping_period(2));
try {
int i;