Configures the maximum number of concurrent daemon processes that can run simultaneously in daemon mode. This helps manage system resources when processing multiple images.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ollm/opencomic-ai-bin/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
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
Related
- setDaemonIdleTimeout() - Configure daemon timeout
- closeAllDaemons() - Manually close all daemons
- Daemon mode guide - Learn about daemon mode