Analyses limit configuration allows to set other limits than timeout

Configuration is now defined as a dictionary instead of just timeouts
per analysis type
This commit is contained in:
Raul Ochoa
2016-11-10 18:41:59 +01:00
parent 6901b2049e
commit e74ce9dfd8
6 changed files with 73 additions and 24 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ var config = {
// Define max execution time in ms for analyses or tags
// If analysis or tag are not found in redis this values will be used as default.
limits: {
moran: 120000,
cpu2x: 60000
moran: { timeout: 120000, maxNumberOfRows: 1e5 },
cpu2x: { timeout: 60000 }
}
}
,millstone: {