We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec8019 commit 47e799eCopy full SHA for 47e799e
src/tapthrottle.h
@@ -20,6 +20,8 @@
20
21
#include "config.h"
22
23
+#include <relaxed_atomic.h>
24
+
25
#include "common.h"
26
#include "stats.h"
27
@@ -48,8 +50,8 @@ class TapThrottle {
48
50
bool persistenceQueueSmallEnough() const;
49
51
bool hasSomeMemory() const;
52
- ssize_t queueCap;
- size_t capPercent;
53
+ Couchbase::RelaxedAtomic<ssize_t> queueCap;
54
+ Couchbase::RelaxedAtomic<size_t> capPercent;
55
EPStats &stats;
56
};
57
0 commit comments