updated build system
This commit is contained in:
		| @@ -197,8 +197,8 @@ auto packet_client::send(std::string_view method, packet &request, | |||||||
|  |  | ||||||
|         timeout request_timeout( |         timeout request_timeout( | ||||||
|             [method, current_client]() { |             [method, current_client]() { | ||||||
|               event_system::instance().raise<packet_client_timeout>("request", |               event_system::instance().raise<packet_client_timeout>( | ||||||
|                                                                     method); |                   "request", std::string{method}); | ||||||
|               packet_client::close(*current_client); |               packet_client::close(*current_client); | ||||||
|             }, |             }, | ||||||
|             std::chrono::seconds(send_timeout_)); |             std::chrono::seconds(send_timeout_)); | ||||||
| @@ -219,8 +219,8 @@ auto packet_client::send(std::string_view method, packet &request, | |||||||
|  |  | ||||||
|         timeout response_timeout( |         timeout response_timeout( | ||||||
|             [method, current_client]() { |             [method, current_client]() { | ||||||
|               event_system::instance().raise<packet_client_timeout>("response", |               event_system::instance().raise<packet_client_timeout>( | ||||||
|                                                                     method); |                   "response", std::string{method}); | ||||||
|               packet_client::close(*current_client); |               packet_client::close(*current_client); | ||||||
|             }, |             }, | ||||||
|             std::chrono::seconds(receive_timeout_)); |             std::chrono::seconds(receive_timeout_)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user