Skip to content

Commit 49865fe

Browse files
committed
ws cobra_subscribe / sleep 1s instead of 10ms in the main loop
1 parent f3f7131 commit 49865fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ws/ws_cobra_subscribe.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ namespace ix
9999

100100
while (true)
101101
{
102-
std::chrono::duration<double, std::milli> duration(10);
102+
auto duration = std::chrono::seconds(1);
103103
std::this_thread::sleep_for(duration);
104104
}
105105

0 commit comments

Comments
 (0)