debug log job duration
This commit is contained in:
1 parent
56872bfd8a
commit
8d74cb6e52
1 file changed
+10
-1
@@ -44,7 +44,16 @@ function ExecuteJobRequest(request as object) as void
|
|||||||
job.input = request.input
|
job.input = request.input
|
||||||
end if
|
end if
|
||||||
|
|
||||||
LogDebug("Executing job:", request.jobName)
|
#if DEBUG
|
||||||
|
LogDebug("Executing job:", request.jobName)
|
||||||
|
time = CreateObject("roTimespan")
|
||||||
|
#end if
|
||||||
|
|
||||||
job@.Execute()
|
job@.Execute()
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
LogDebug("Job executed:", request.jobName, "in", time.TotalMilliseconds(), "ms")
|
||||||
|
#end if
|
||||||
|
|
||||||
job.input = invalid
|
job.input = invalid
|
||||||
end function
|
end function
|
||||||
Reference in new issue
Block a user