mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
fix some compile issues
This commit is contained in:
parent
16e551e834
commit
8714480370
@ -942,7 +942,7 @@ ACTOR static Future<Void> backgroundGrvUpdater(DatabaseContext* cx) {
|
||||
.detail("GrvSustainedThrottlingThreshold", CLIENT_KNOBS->GRV_SUSTAINED_THROTTLING_THRESHOLD)
|
||||
.detail("GrvCacheRkCooldown", CLIENT_KNOBS->GRV_CACHE_RK_COOLDOWN)
|
||||
.detail("MaxVersionCacheLag", CLIENT_KNOBS->MAX_VERSION_CACHE_LAG)
|
||||
.detail("DebugUseGrvCache", CLIENT_KNOBS->DEBUG_USE_GRV_CACHE);
|
||||
.detail("DebugUseGrvCacheChance", CLIENT_KNOBS->DEBUG_USE_GRV_CACHE_CHANCE);
|
||||
try {
|
||||
loop {
|
||||
wait(refreshTransaction(cx, &tr));
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "flow/Error.h"
|
||||
#include "flow/ITrace.h"
|
||||
|
||||
#define TRACE_DEFAULT_ROLL_SIZE (10 << 40)
|
||||
#define TRACE_DEFAULT_ROLL_SIZE (10 << 24)
|
||||
#define TRACE_DEFAULT_MAX_LOGS_SIZE (10 * TRACE_DEFAULT_ROLL_SIZE)
|
||||
|
||||
inline int fastrand() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user