refactor(storage): standardize size limits to use GB units
This commit is contained in:
10
docs/tech.md
10
docs/tech.md
@@ -150,16 +150,16 @@ Primary environment variables:
|
||||
- `WARPBOX_RENEW_ON_DOWNLOAD_ENABLED`
|
||||
- `WARPBOX_DEFAULT_GUEST_EXPIRY_SECONDS`
|
||||
- `WARPBOX_MAX_GUEST_EXPIRY_SECONDS`
|
||||
- `WARPBOX_GLOBAL_MAX_FILE_SIZE_BYTES`
|
||||
- `WARPBOX_GLOBAL_MAX_BOX_SIZE_BYTES`
|
||||
- `WARPBOX_DEFAULT_USER_MAX_FILE_SIZE_BYTES`
|
||||
- `WARPBOX_DEFAULT_USER_MAX_BOX_SIZE_BYTES`
|
||||
- `WARPBOX_GLOBAL_MAX_FILE_SIZE_GB`
|
||||
- `WARPBOX_GLOBAL_MAX_BOX_SIZE_GB`
|
||||
- `WARPBOX_DEFAULT_USER_MAX_FILE_SIZE_GB`
|
||||
- `WARPBOX_DEFAULT_USER_MAX_BOX_SIZE_GB`
|
||||
- `WARPBOX_SESSION_TTL_SECONDS`
|
||||
- `WARPBOX_BOX_POLL_INTERVAL_MS`
|
||||
- `WARPBOX_THUMBNAIL_BATCH_SIZE`
|
||||
- `WARPBOX_THUMBNAIL_INTERVAL_SECONDS`
|
||||
|
||||
Size limit settings accept `_MB` or `_BYTES` env names. `WARPBOX_ADMIN_ENABLED`
|
||||
Size limit settings use `_GB` env names with `1024^3` conversion. Legacy `_MB` and `_BYTES` names remain accepted for compatibility. `WARPBOX_ADMIN_ENABLED`
|
||||
accepts `auto`, `true`, or `false`.
|
||||
|
||||
The HTTP listen address is configured through the CLI flag:
|
||||
|
||||
Reference in New Issue
Block a user