diff --git a/Architecture.md b/Architecture.md index 7e2fe35..b6b7c96 100644 --- a/Architecture.md +++ b/Architecture.md @@ -14,26 +14,28 @@ ### Default worker configuration Worker should have some default configuration which is applied to worker itself or may be used in given jobs (implicitly if something is missing, or explicitly with special variables). This configuration should be hardcoded and can be rewritten by explicitly declared configuration file. Format of this configuration is yaml like in the job config. ``` ---- # only one document with all configuration needed +--- # only one document with all configuration needed job-collector: hostname: "localhost" port: 36587 file-manager: file-collector: hostname: "localhost" - port: 80 - cache: + port: 80 # can be ignored in specific modules + username: "654321" # can be ignored in specific modules + password: "123456" # can be ignored in specific modules + cache: # only in case that there is cache module cache-dir: "/tmp/cache" logger: file: "log.txt" limits: - time: 5 # in secs - wall-time: 6 # seconds - extra-time: 2 # seconds - stack-size: 50000 # KB - memory: 50000 # in KB - parallel: false # time and memory limits are merged - disk-usage: 5 # MB + time: 5 # in secs + wall-time: 6 # seconds + extra-time: 2 # seconds + stack-size: 50000 # KB + memory: 50000 # in KB + parallel: false # time and memory limits are merged + disk-usage: 5 # MB ... ```