1
0
Fork 0

Add a comment that is very useful in reading stack traces

This commit is contained in:
Gregory Eremin 2015-10-17 04:31:47 +03:00
parent 9141fd9f80
commit a8443577d2
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func (s *Satan) processTask(t *task) {
defer t.daemon.base().handlePanic() defer t.daemon.base().handlePanic()
start := time.Now() start := time.Now()
t.actor() t.actor() // <--- THE ACTION HAPPENS HERE
dur := time.Now().UnixNano() - start.UnixNano() dur := time.Now().UnixNano() - start.UnixNano()
t.daemon.base().stats.add(time.Duration(dur)) t.daemon.base().stats.add(time.Duration(dur))