execute tasks nly of right type
This commit is contained in:
parent
51f9c2d6d1
commit
e7d1c97a48
2 changed files with 8 additions and 5 deletions
|
|
@ -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 }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue