diff --git a/ws/ws_cobra_subscribe.cpp b/ws/ws_cobra_subscribe.cpp index 34e25900..86e7119e 100644 --- a/ws/ws_cobra_subscribe.cpp +++ b/ws/ws_cobra_subscribe.cpp @@ -99,7 +99,7 @@ namespace ix while (true) { - std::chrono::duration duration(10); + auto duration = std::chrono::seconds(1); std::this_thread::sleep_for(duration); }