diff options
author | Determinant <[email protected]> | 2018-11-15 11:47:39 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-15 11:47:39 -0500 |
commit | d6e9a45639e688cd4d745f610401f74f8ee02011 (patch) | |
tree | 0ca5ce5630c6d46601dbf9d8b0e3eae38a7115a7 /test/test_p2p.cpp | |
parent | 82bd1d81e918cc8a1a46b6c36a81cbba43750bb1 (diff) |
use config factory
Diffstat (limited to 'test/test_p2p.cpp')
-rw-r--r-- | test/test_p2p.cpp | 2 |
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; |