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

Commit aa77752

Browse files
committed
Document METEOR_SQLITE_JOURNAL_MODE
1 parent df8ffb6 commit aa77752

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/environment-variables.md

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ 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+
60+
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`.
61+
62+
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.
63+
5864
## MONGO_OPLOG_URL
5965
(_development, production_)
6066

0 commit comments

Comments
 (0)