HomePhorge
Diffusion tesla 5724e5ae0a98

Fix calculation of request-response cycle duration in Logger middleware

Description

Fix calculation of request-response cycle duration in Logger middleware

:timer.tc/2 returns elapsed time in *microseconds* and this value should be
divided by 1000 to get time in *milliseconds*.

See http://erlang.org/doc/man/timer.html#tc-2

Details

Provenance
Alexei MikhailovAuthored on Feb 16 2017, 12:53 AM
Parents
R28:6aee37081731: Merge pull request #63 from hwuethrich/master
Branches
Unknown
Tags
Unknown

Event Timeline