summaryrefslogtreecommitdiffstats
path: root/include/framework/scheduling/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/framework/scheduling/Version.h')
-rw-r--r--include/framework/scheduling/Version.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/framework/scheduling/Version.h b/include/framework/scheduling/Version.h
index e2acc8f..4cd73ba 100644
--- a/include/framework/scheduling/Version.h
+++ b/include/framework/scheduling/Version.h
@@ -82,12 +82,7 @@ public:
bool advance_buffer_head(size_t new_head) {
m_buffer_head = new_head;
-
- while (!m_buffer->advance_head(new_head)) {
- usleep(1);
- }
-
- return true;
+ return m_buffer->advance_head(new_head);
}
void update_shard_version(size_t version) {