Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Commit fbd3135

Browse files
Merge pull request #710 from brucejo75/brucejo75/document_METEOR_SQLITE_JOURNAL_MODE
Document METEOR_SQLITE_JOURNAL_MODE
2 parents df8ffb6 + 8156bef commit fbd3135

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/environment-variables.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ When running your bundled application in production mode, pass a string of JSON
5555

5656
> In development, this is accomplished with `meteor --settings [file.json]` in order to provide full-reactivity when changing settings. Those settings are simply passed as a string here. Please see the [Meteor.settings](http://docs.meteor.com/api/core.html#Meteor-settings) documentation for further information.
5757
58+
## METEOR_SQLITE_JOURNAL_MODE
59+
(_development_)
60+
61+
The Meteor package catalog uses the `WAL` [SQLite Journal Mode](https://www.sqlite.org/pragma.html#pragma_journal_mode) by default. The Journal mode for the package catalog can be modifed by setting `METEOR_SQLITE_JOURNAL_MODE`.
62+
63+
When running multiple concurrent meteor servers on [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/) some meteor developers have seen issues with the package catalog. Setting the environment variable `METEOR_SQLITE_JOURNAL_MODE=TRUNCATE` can overcome the issue.
64+
5865
## MONGO_OPLOG_URL
5966
(_development, production_)
6067

0 commit comments

Comments
 (0)