execute tasks nly of right type

This commit is contained in:
Johannes Findeisen 2013-11-09 04:29:49 +01:00
commit e7d1c97a48
2 changed files with 8 additions and 5 deletions

View file

@ -42,7 +42,7 @@
}
},
"periods": {
"fast": { "seconds": 15 },
"fast": { "seconds": 3 },
"medium": { "seconds": 120 },
"slow": { "seconds": 480 }
},
@ -54,14 +54,14 @@
{
"class": "etc/dummy",
"periods": ["fast"],
"threshold": 1,
"threshold": 10,
"args": { "sleep": 1, "fail": true }
},
{
"class": "etc/dummy",
"periods": ["fast"],
"threshold": 1,
"args": { "sleep": 10, "fail": false }
"args": { "sleep": 1, "fail": false }
}
]
},