summaryrefslogtreecommitdiff
path: root/cli/cache/common.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cache/common.rs')
-rw-r--r--cli/cache/common.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/cache/common.rs b/cli/cache/common.rs
index 1e6c5aa92..93ff91d50 100644
--- a/cli/cache/common.rs
+++ b/cli/cache/common.rs
@@ -43,15 +43,3 @@ impl FastInsecureHasher {
self.0.finish()
}
}
-
-/// Disable write-ahead-logging and tweak some other stuff.
-/// We want to favor startup time over cache performance and
-/// creating a WAL is expensive on startup.
-pub static INITIAL_PRAGMAS: &str = "
- PRAGMA journal_mode=OFF;
- PRAGMA synchronous=NORMAL;
- PRAGMA temp_store=memory;
- PRAGMA page_size=4096;
- PRAGMA mmap_size=6000000;
- PRAGMA optimize;
-";