summaryrefslogtreecommitdiff
path: root/reftable/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/constants.h')
-rw-r--r--reftable/constants.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/reftable/constants.h b/reftable/constants.h
new file mode 100644
index 0000000000..e3b1aaa516
--- /dev/null
+++ b/reftable/constants.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Use of this source code is governed by a BSD-style
+ * license that can be found in the LICENSE file or at
+ * https://developers.google.com/open-source/licenses/bsd
+ */
+
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
+
+#include "reftable-constants.h"
+
+#define MAX_RESTARTS ((1 << 16) - 1)
+#define DEFAULT_BLOCK_SIZE 4096
+#define DEFAULT_GEOMETRIC_FACTOR 2
+
+#endif