Skip to main content
Configures the maximum number of concurrent daemon processes that can run simultaneously in daemon mode. This helps manage system resources when processing multiple images.

Syntax

Parameters

number
default:"3"
Maximum number of daemon processes to run concurrently. Must be a positive integer.

Returns

void - This method does not return a value.

Behavior

  • Limits the number of upscaling processes running at the same time
  • When the limit is reached, older idle daemons are closed automatically
  • Higher values allow more parallel processing but consume more memory
  • Lower values reduce memory usage but may slow down batch processing

Example

Performance considerations

High concurrency (5-10 daemons)

  • Faster batch processing
  • Higher memory usage (1-2GB per daemon)
  • Best for systems with abundant RAM

Low concurrency (1-2 daemons)

  • Lower memory footprint
  • Sequential or limited parallel processing
  • Better for resource-constrained systems

Default (3 daemons)

  • Balanced approach
  • Good for most use cases

Source

Defined in index.mts:775-779