Files
server/opt/psa/admin/conf/task-manager.yml.sample
2026-01-07 20:52:11 +01:00

41 lines
1.6 KiB
Plaintext

# Copyright 1999-2025. WebPros International GmbH. All rights reserved.
concurrency:
limits:
# Maximum number of concurrent tasks
# This limit will not be exceeded regardless of concurrency rules configuration below
#total: 100
tags:
# Concurrency rules
# Each rule is a mapping of a tag or a tag pattern to an integer limit value.
# Tag patterns include '*' symbols which match any tag substring.
# Limit value of -1 means "unlimited", any other limit value ensures that no more
# than that many tasks with matching tags in their concurrency rules are executed
# concurrently.
# Any tag not configured here is treated as having limit value of 1 (no concurrency).
#event_handler: 5
#long_task: -1
#daily_maintenance: -1
timeouts:
# How often to remove tasks that were not recently updated
gc:
# Remove 'success' tasks that are older than
#successful: 24h
# Remove 'failure' tasks that are older than
#failed: 168h
# Remove all other tasks that are older than
#incomplete: 168h
# Check for old tasks once per this period
#cleanupPeriod: 1h
process:
# Process stop timeout (delay between graceful and forced termination)
#stop: 15s
# Default process execution timeout (can be overridden via API)
#execution: 20m
# How often to check running processes state
# Depending on platform this may be primary or auxiliary method of process control
#probePeriod: 1m
log:
# Logging level, one of: DEBUG, INFO, WARNING, ERROR
# Daemon --verbosity CLI option takes priority if set
#level: INFO