mirror of
https://github.com/h2non/imaginary.git
synced 2026-05-29 11:18:41 +02:00
fix(docs): usage
This commit is contained in:
@@ -134,7 +134,7 @@ Options:
|
||||
-key <key> Define API key for authorization
|
||||
-concurreny <num> Throttle concurrency limit per second [default: disabled]
|
||||
-burst <num> Throttle burst max cache size [default: 100]
|
||||
-mrelease <num> Force OS memory release inverval in seconds [default: 60]
|
||||
-mrelease <num> Force OS memory release inverval in seconds [default: 30]
|
||||
-cpus <num> Number of used cpu cores.
|
||||
(default for current machine is 8 cores)
|
||||
```
|
||||
@@ -159,6 +159,16 @@ Or filter debug output by package
|
||||
DEBUG=imaginary imaginary -p 8080
|
||||
```
|
||||
|
||||
Enable HTTP server throttle strategy (max 10 request/second)
|
||||
```
|
||||
imaginary -p 8080 -concurrency 10
|
||||
```
|
||||
|
||||
Increase libvips threads concurrency (experimental)
|
||||
```
|
||||
VIPS_CONCURRENCY=10 imaginary -p 8080 -concurrency 10
|
||||
```
|
||||
|
||||
## HTTP API
|
||||
|
||||
### Authorization
|
||||
|
||||
Reference in New Issue
Block a user