-
Fixed stubbing for Gitlab::Metrics specs · 7eed4608Yorick Peterse authored
If the measure method uses Transaction.current directly the SQL subscriber (Subscribers::ActiveRecord) will add timings of queries triggered by DB cleaner.
×
BigW Consortium Gitlab
If the measure method uses Transaction.current directly the SQL subscriber (Subscribers::ActiveRecord) will add timings of queries triggered by DB cleaner.