aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-02-22 10:18:53 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-02-22 10:18:53 +0100
commit157c561e1b7c6b339c6774fec48a34c43fb272c1 (patch)
tree0624323faae934ece42014ceba166b37cd670a8a /libtransport
parent1e2e32c281ddb053d03efd74eea660dfb0b6316f (diff)
[HICN-79] epoll timeout is now set to 1 second
Change-Id: Ibec7ff2064ac69833e9c1bb1d8aaa064c02e64be Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/src/hicn/transport/core/memif_connector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/core/memif_connector.cc b/libtransport/src/hicn/transport/core/memif_connector.cc
index c69a87fb7..0a2affb8a 100644
--- a/libtransport/src/hicn/transport/core/memif_connector.cc
+++ b/libtransport/src/hicn/transport/core/memif_connector.cc
@@ -333,7 +333,7 @@ int MemifConnector::onDisconnect(memif_conn_handle_t conn, void *private_ctx) {
return 0;
}
-void MemifConnector::threadMain() { event_reactor_.runEventLoop(1); }
+void MemifConnector::threadMain() { event_reactor_.runEventLoop(1000); }
int MemifConnector::onInterrupt(memif_conn_handle_t conn, void *private_ctx,
uint16_t qid) {
@@ -509,4 +509,4 @@ void MemifConnector::send(const uint8_t *packet, std::size_t len,
} // end namespace transport
-#endif // __vpp__ \ No newline at end of file
+#endif // __vpp__