Skip to content

Webhooks "Recent Deliveries" Shows Times in Milliseconds, When It Seems It Should Be Seconds

Summary

The "Elapsed time" column in "Recent Deliveries" for webhooks shows the units are milliseconds (ms) when it appears they are seconds.

It is documented here as seconds: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md

And in my own manual testing (click "test" and count in my head) it does appear to be seconds.

However, due to the error prone nature of this test - it's probably a good idea to check in code whether the actual webhook timeout is happening in seconds or milliseconds.

We are running gitlab ce 10.x.

Possible fixes

GUI code for Webhooks "Recent Deliveries" screen needs updating?

image

Edited by DarwinJS