BUG 9796 Slow Query deleting a task ( error collected by New Relic ) SOLVED

- The query used to check if a task can be deleted was very slow
- Change the businnes logic to check if a task can be deleted
This commit is contained in:
Julio Cesar Laura
2012-09-24 11:32:42 -04:00
parent 3f8584f20f
commit 31de7c5943
2 changed files with 36 additions and 30 deletions

View File

@@ -1540,6 +1540,7 @@ var processmap=function(){
var r = new leimnud.module.rpc.xmlhttp({
url: this.options.dataServer,
args: "action=taskCases&data=" + {
pro_uid: this.options.uid,
task_uid: data.uid
}.toJSONString()
});