HomePhabricator

Do nothing if there is no querytime to flush

Tags
None
Referenced Files
None
Subscribers
None

Description

Do nothing if there is no querytime to flush

With the previous commit, flush_querytime() will have nothing to do most
of the time, so make it return early without executing an INSERT query.
I think this is good enough and we don’t need to make the app or
background runner actually skip the flush_querytime() calls.

Details

Provenance
LucasWerkmeisterAuthored on Feb 20 2023, 11:17 PM
Parents
R2494:0039ce66c594: Disable querytime mechanism by default
Branches
Unknown
Tags
Unknown
ChangeId
None