mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
Update documents
This commit is contained in:
parent
7c83b59b43
commit
42db182573
@ -57,12 +57,16 @@ The `executorserver` need root privilege to create `cgroup`. Either creates sub-
|
||||
- The default concurrency is `4`, Can be specified with `-parallism` flag.
|
||||
- The default file store is in memory, local cache can be specified with `-dir` flag.
|
||||
- The default log level is debug, use `-silent` to disable logs.
|
||||
- `-token` to add token-based authentication to REST / gRPC
|
||||
|
||||
#### Environment Variables
|
||||
|
||||
Environment variable will override command line arguments if they both present.
|
||||
|
||||
- The http binding address specifies as `HTTP_ADDR=addr`
|
||||
- The grpc binding address specifies as `GRPC_ADDR=addr`
|
||||
- The parallism specifies as `PARALLISM=4`
|
||||
- The token specifies as `TOKEN=token`
|
||||
- `GRPC=1` enables gRPC
|
||||
- `METRICS=1` enables metrics
|
||||
- `DEBUG=1` enables debug
|
||||
|
||||
Loading…
Reference in New Issue
Block a user