adding delays and more debug

This commit is contained in:
JT Smith 2006-03-17 02:07:50 +00:00
parent 71b2634741
commit df0d073120
2 changed files with 26 additions and 6 deletions

View file

@ -20,7 +20,20 @@
# but depending upon the amount of editing and workflows you have
# on your site, you may not need that many.
"maxWorkers" : 3
"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.
"timeBetweenJobs" : 5,
# The number of seconds that Spectre should wait after an activity
# has been suspended before it should start it back up again. An
# activity may be suspended if it's waiting on user input, or
# if it returns an error.
"delayAfterSuspension" : 500
}