File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
include/tigerapi/push_socket Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 11#ifndef PUSH_SOCKET_H
22#define PUSH_SOCKET_H
33
4- #ifdef _WIN32
5- #define NOMINMAX // 防止 Windows 定义的 min/max 宏干扰
6- #endif
7-
84#include < memory>
95#include < string>
106#include " boost/asio.hpp"
11- #include " boost/asio/io_service.hpp"
12- #include " boost/asio/ip/tcp.hpp"
137#include " boost/asio/ssl.hpp"
148#include " boost/bind.hpp"
159#include " boost/pool/pool.hpp"
16- #include < boost/optional.hpp>
10+ #include " boost/optional.hpp"
1711#include " cpprest/details/basic_types.h"
1812#include " tigerapi/client_config.h"
1913#include " push_frame_serialize.h"
@@ -109,9 +103,9 @@ namespace TIGER_API
109103 private:
110104 std::time_t last_send_heart_beat_time_ = 0 ;
111105 std::time_t last_io_time_ = 0 ;
112- int reconnect_interval_ = 10 * 1000 ; // 单位:ms
113- int send_interval_ = 10 * 1000 ; // 单位:ms
114- int recv_interval_ = 10 * 1000 ; // 单位:ms
106+ int reconnect_interval_ = 10 * 1000 ; // 单位:ms
107+ int send_interval_ = 10 * 1000 ; // 单位:ms
108+ int recv_interval_ = 10 * 1000 ; // 单位:ms
115109 };
116110}
117111#endif // PUSH_SOCKET_H
You can’t perform that action at this time.
0 commit comments