summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index e7277d0dd..bfb96f41b 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -358,7 +358,7 @@ try
}
if (remote_backoff > 0) {
- boost::this_thread::sleep_for (boost::chrono::seconds (remote_backoff));
+ boost::this_thread::sleep (boost::posix_time::seconds (remote_backoff));
}
/* The queue might not be full any more, so notify anything that is waiting on that */