better queue for workflow
This commit is contained in:
parent
ee4bcaf415
commit
2467dc32dc
3 changed files with 51 additions and 34 deletions
|
|
@ -16,20 +16,17 @@
|
|||
|
||||
"maxWorkers" : 3,
|
||||
|
||||
# How many seconds should Spectre wait between spawning jobs This
|
||||
# How many seconds should Spectre wait between spawning jobs. This
|
||||
# can help avoid creating a denial of service attack on overworked
|
||||
# or underpowered servers.
|
||||
# or underpowered servers.
|
||||
|
||||
"timeBetweenRunningWorkflows" : 5,
|
||||
"timeBetweenRunningWorkflows" : 4,
|
||||
|
||||
# The number of seconds that Spectre should wait after an activity
|
||||
# has been suspended before it should start it back up again. This
|
||||
# gives other workflows a chance to run if one particular workflow
|
||||
# has a lot of activites in it, and provides an opportunity to
|
||||
# bypass workflows that are waiting for input from an external
|
||||
# source.
|
||||
# How long should Spectre delay processing a workflow instance when
|
||||
# it gets suspended. It can get suspended if it's waiting for
|
||||
# external input, or if it errors for any reason.
|
||||
|
||||
"delayAfterSuspension" : 60
|
||||
"suspensionDelay" : 60
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue