fix: add tokenExpirationTime to config init and troubleshoot docs (#5546)
Co-authored-by: Henrique Dias <mail@hacdias.com>
This commit is contained in:
1 parent
0a0cb8046f
commit
8c5dc7641e
5 files changed
+17
-1
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# Troubleshooting
|
||||
|
||||
## Session Timeout
|
||||
|
||||
By default, user sessions expire after **2 hours**. If you're uploading large files over slower connections, you may need to increase this timeout to prevent sessions from expiring mid-upload. You can configure the session timeout using the `tokenExpirationTime` setting.
|
||||
|
||||
You can either set this option during runtime by using the flag `--tokenExpirationTime`, the environment variable `FB_TOKEN_EXPIRATION_TIME`, or in your configuration file. If you want to persist this to the configuration, please use [`filebrowser config set`](cli/filebrowser-config-set.md).
|
||||
|
||||
Valid duration formats include `"2h"`, `"30m"`, `"24h"`, or combinations like `"2h30m"`.
|
||||
Reference in new issue
Block a user