The usage of queues is recommended to avoid paralel executions of chains or processes that can run at the same time for any reason. In addition, it allows us to establish the execution order unsing priorities
For example: If we have several processes or chains that works with the same file (file_one.txt) it is possible to assign the queue “file_one” to all of them, this way, paralel executions will be avoided.
In the config.json file can be configured the refresh interval of the queues. It is indicated in milliseconds.
Both in chais and processes we have to indicate the identifier of the chain (alpanimeric) and the priority (optional - integer)
In the chain:
In a process: