diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-21 16:11:13 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-21 16:11:13 +1100 |
| commit | 32a04a3554c583900d1c8452b958b71cc765eacf (patch) | |
| tree | a94673ba1ff67dc51db75948f1b3e089ae6fa33c /src/timestamp_pool.hh | |
| parent | b7f8df7ba5a08fdf60f2966f0fdcdb06de99c575 (diff) | |
Don't wait inside spinlock
Diffstat (limited to 'src/timestamp_pool.hh')
| -rw-r--r-- | src/timestamp_pool.hh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/timestamp_pool.hh b/src/timestamp_pool.hh index bfdad2e..8e336d5 100644 --- a/src/timestamp_pool.hh +++ b/src/timestamp_pool.hh @@ -60,11 +60,6 @@ class TimestampPool final { friend class TimestampPool; private: - // For our spinlock functions this is the period in which we sleep - // between attempts. - static constexpr auto SPINLOCK_MAX_DELAY = std::chrono::microseconds(1); - - private: const TimestampPool& timestamp_pool; const std::weak_ptr<QueryChunk> origin_chunk; |
