Skip to content

Commit 71b9a4f

Browse files
committed
Reduces the number of messages in the stress test.
1 parent d89a976 commit 71b9a4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_conn_echo_stress.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ auto async_echo_stress(std::shared_ptr<connection> conn) -> net::awaitable<void>
9191

9292
// Number of coroutines that will send pings sharing the same
9393
// connection to redis.
94-
int const sessions = 500;
94+
int const sessions = 150;
9595

9696
// The number of pings that will be sent by each session.
97-
int const msgs = 250;
97+
int const msgs = 200;
9898

9999
// The number of publishes that will be sent by each session with
100100
// each message.
101-
int const n_pubs = 50;
101+
int const n_pubs = 25;
102102

103103
// This is the total number of pushes we will receive.
104104
int total_pushes = sessions * msgs * n_pubs + 1;

0 commit comments

Comments
 (0)