Environment Variables
Introduction
The behavior of the client can be controlled using environment variables.
The value of the environment variables override the values in the configuration file. |
Most environment variables only exist for debugging or testing. They are not officially supported and may change from version to version. If you end up relying on a setting only available through an environment variable, please create a bug report. |
Available Environment Variables
Setting | Default | Description |
---|---|---|
|
10000000 |
Specifies the initial chunk size of uploaded files in bytes.
The client will dynamically adjust this size within the maximum and minimum bounds (see below).
To disable chunking completely, set |
|
100000000 |
Specifies the maximum chunk size of uploaded files in bytes. |
|
1000000 |
Specifies the minimum chunk size of uploaded files in bytes. |
|
60000 |
Target duration in milliseconds for chunk uploads. The client adjusts the chunk size until each chunk upload takes approximately this long. Set to 0 to disable dynamic chunk sizing. |
|
depend on server capability |
Force-enable ("1") or force-disable ("0") the NG chunking algorithm. |
|
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. |
|
depend on Qt version |
Force-enable ("1") or force-disable ("0") HTTP2 support. Note that HTTP2 use also depends on whether the server supports it. |
|
0 |
Set to "1" to allow the tray menu to be updated while it’s visible to the user. |
|
unset |
Set to "1" to reestablish the tray icon every time the menu changes. |
|
unset |
Set to "1" if single tray clicks sometimes get recognized as double clicks. |
|
unset |
Set to "1" if the tray menu is flickering while opened. |
|
unset |
Set to "1" if the tray menu sometimes contains stale entries. |
|
3600000 |
Maximum time in milliseconds that fast local discovery is allowed for after a full local discovery. Set to 0 to always require full local discovery. Set to -1 to never require full local discovery. |
|
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 all file checksum computations. |
|
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. |