Show More
@@ -323,7 +323,7 b' def dispatch(req):' | |||
|
323 | 323 | ret = -1 |
|
324 | 324 | finally: |
|
325 | 325 | duration = util.timer() - starttime |
|
326 | req.ui.flush() | |
|
326 | req.ui.flush() # record blocked times | |
|
327 | 327 | if req.ui.logblockedtimes: |
|
328 | 328 | req.ui._blockedtimes[b'command_duration'] = duration * 1000 |
|
329 | 329 | req.ui.log( |
@@ -346,6 +346,8 b' def dispatch(req):' | |||
|
346 | 346 | req._runexithandlers() |
|
347 | 347 | except: # exiting, so no re-raises |
|
348 | 348 | ret = ret or -1 |
|
349 | # do flush again since ui.log() and exit handlers may write to ui | |
|
350 | req.ui.flush() | |
|
349 | 351 | return ret |
|
350 | 352 | |
|
351 | 353 |
General Comments 0
You need to be logged in to leave comments.
Login now