|
| 1 | +Port: # enter the port to run the invoker |
| 2 | +# Host: "enter the host string value" # By default, Host equals to localhost |
| 3 | + |
| 4 | +Logger: |
| 5 | + # LogPath: "path to save logs" # By default, logs are written to stdout and stderr |
| 6 | + # LogLevel: 0. # By default LogLevel is 0. |
| 7 | + # Possible log levels are: 0 (Trace), 1 (Debug), 2 (Info), 3 (Warn), 4 (Error) |
| 8 | + |
| 9 | +Invoker: |
| 10 | + # AutodetectPublicAddress is used to automatically detect public address of invoker. |
| 11 | + # This address will be used for master to communicate with invoker. |
| 12 | + # With this parameter, the configuration file can be the same for all invokers that are started in some cloud service. |
| 13 | + AutodetectPublicAddress: true |
| 14 | + # Threads defines the number of simultaneous processes allowed to run at the same time. |
| 15 | + # It is strongly recommended to keep this config equal to 1 |
| 16 | + Threads: 1 |
| 17 | + # Sandboxes defines the number of simultaneous test runs that are processed at the same time. |
| 18 | + # The best value for this parameter is Threads * 2 |
| 19 | + Sandboxes: 2 |
| 20 | + # QueueSize defines the number of test runs that are added to invoker and their resources are loading. |
| 21 | + # The best value for this parameter is 1, but for slow networks it can be grater |
| 22 | + QueueSize: 1 |
| 23 | + # SandboxType defines the type of sandbox used for process isolation. Possible values are "isolate" and "simple" |
| 24 | + # It is strongly recommended to use "isolate" for safe process execution |
| 25 | + SandboxType: "isolate" |
| 26 | + # CacheSize defines the size of the cached files (in bytes). It is recommended to have it al least 10^9 or more. |
| 27 | + CacheSize: 1000000000 |
| 28 | + # SaveOutputHead defines the number of bytes that should be saved for each resource, produced by solution. |
| 29 | + # If this parameter is absent, the full content of each resource will be saved. |
| 30 | + SaveOutputHead: 100 |
| 31 | + # SandboxHomePath is the path to directory for some sandbox specific files. This directory should be empty. |
| 32 | + SandboxHomePath: "some path to empty directory" |
| 33 | + # SandboxHomePath is the path to directory for cached files. This directory should be empty. |
| 34 | + # The cache is reset at each invoker restart. |
| 35 | + CachePath: "some cache path to empty directory" |
| 36 | + # CompilerConfigsFolder is the path to directory, containing compiler configs (just like the folder configs/compiler) |
| 37 | + CompilerConfigsFolder: "path to compiler configs" |
| 38 | + # MasterPingInterval: 1s # The interval at which invoker pings master. By default, equal to 1s |
| 39 | + |
| 40 | +DB: |
| 41 | + Dsn: # Use your postgres dsn on master server to connect to database. |
| 42 | + |
| 43 | +MasterConnection: |
| 44 | + Address: # Public address of master server |
| 45 | + |
| 46 | +StorageConnection: |
| 47 | + Address: # Public address of master server |
0 commit comments