fix(docs): usage

This commit is contained in:
Tomas Aparicio
2015-04-15 10:31:15 +02:00
parent 17236c7d0e
commit c8499fec24
+11 -1
View File
@@ -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