Environment Variables
Introduction
The behavior of the Desktop App can be controlled using environment variables.
The values of the environment variables override those in the configuration file. |
Most environment variables only exist for debugging or testing purposes. They are not officially supported and may change from one version to the next. If you find yourself relying on a setting that is only available through an environment variable, please file a bug report. |
Available Environment Variables
Setting | Default | Description |
---|---|---|
|
Set to any value to disable uploads using the tus protocol |
|
|
300 |
The timeout for network connections in seconds. |
|
50*1000*1000 bytes |
The minimum disk space needed for operation. A fatal error is raised if less free space is available. |
|
250*1000*1000 bytes |
Downloads that would reduce the free space below this value are skipped. More information available under the "Low Disk Space" section. |
|
6 |
Maximum number of parallel jobs. |
|
25 |
Minimum timeout, in seconds, for blacklisted files. |
|
24*60*60 |
Maximum timeout, in seconds, for blacklisted files. |
|
depends on Qt version |
Force-enable ("1") or force-disable ("0") HTTP2 support. Note that HTTP2 use also depends on whether the server supports it. |
|
depends on filesystem |
Set a specific sqlite journal mode. |
|
EXCLUSIVE |
Set a specific sqlite locking mode. |
|
unset |
Set the given temp_store on the sqlite database. |
|
unset |
Set to disable computing checksums for uploaded files. |
|
SHA1 |
Select the file checksumming algorithm. "Adler32", "MD5", "SHA1", "SHA256", "SHA3-256" are valid, but not all have server support. |
|
unset |
Set to "1" to enable uploading conflict files to the server. |
|
unset |
Set to override a previously configured/branded server URL |
|
unset |
This value can be set in the environment of the client to let the client choose a different update URL for testing purposes. |
|
unset |
This value can be used to control the log content, see examples at Control Log Content and Controlling Messages. |