metrics: Fix countdown to metrics collection.
We were printing the notice when the decorator was called, so that if several functions are decorated, the countdown will increase more than once during each execution. This change fixes that. Bug: 832386 Change-Id: I5d6dd2d793137e1e2c83b6cc765b6245080b9d91 Reviewed-on: https://chromium-review.googlesource.com/1141073Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Showing
Please
register
or
sign in
to comment