35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# config-file-format: JSON 1
|
|
|
|
{
|
|
|
|
# Define a port for Spectre to run on between 1024 and 65000.
|
|
|
|
"port" : 32133,
|
|
|
|
# How many Spectre workers should be allowed to be running at
|
|
# one time. Keep in mind that workers use some of the resources
|
|
# of your web site. If you're running only one server, you probably
|
|
# shouldn't have more than 5 workers. If you're running load
|
|
# balanced servers, you can probably have as many as 5 per server,
|
|
# but depending upon the amount of editing and workflows you have
|
|
# on your site, you may not need that many.
|
|
|
|
"maxWorkers" : 3,
|
|
|
|
# How many seconds should Spectre wait between spawning jobs This
|
|
# can help avoid creating a denial of service attack on overworked
|
|
# or underpowered servers.
|
|
|
|
"timeBetweenRunningWorkflows" : 5,
|
|
|
|
# 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.
|
|
|
|
"delayAfterSuspension" : 60
|
|
|
|
}
|
|
|