From d6e9a45639e688cd4d745f610401f74f8ee02011 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 15 Nov 2018 11:47:39 -0500 Subject: use config factory --- test/test_p2p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_p2p.cpp') 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; -- cgit v1.2.3