From 5b77a41eafe6501a3f7cc76f2c746858036aef81 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 19 Jun 2011 09:22:11 +0200 Subject: Throughput tests fixed. Introduction of subscription forwarding have broken throughput tests. This patch changes the pattern used in the tests to PUSH/PULL. Signed-off-by: Martin Sustrik --- perf/remote_thr.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perf/remote_thr.cpp') diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index 363ae7c..c8df333 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -50,7 +50,7 @@ int main (int argc, char *argv []) return -1; } - s = zmq_socket (ctx, ZMQ_PUB); + s = zmq_socket (ctx, ZMQ_PUSH); if (!s) { printf ("error in zmq_socket: %s\n", zmq_strerror (errno)); return -1; @@ -88,8 +88,6 @@ int main (int argc, char *argv []) } } -zmq_sleep (2); - rc = zmq_close (s); if (rc != 0) { printf ("error in zmq_close: %s\n", zmq_strerror (errno)); -- cgit v1.2.3