From 70ea511409b035f25182620b4491c2d7b4556889 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 3 Jul 2010 02:57:21 +0000 Subject: [PATCH] fixed rate limited udp socket timer issue --- src/udp_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp_socket.cpp b/src/udp_socket.cpp index 30b378d7b..3dd35efbf 100644 --- a/src/udp_socket.cpp +++ b/src/udp_socket.cpp @@ -744,7 +744,7 @@ void rate_limited_udp_socket::on_tick(error_code const& e) if (e) return; if (is_closed()) return; error_code ec; - ptime now = time_now(); + ptime now = time_now_hires(); m_timer.expires_at(now + seconds(1), ec); m_timer.async_wait(boost::bind(&rate_limited_udp_socket::on_tick, this, _1));