Select Git revision
usage_data_spec.rb
-
Piotr Skorupa authored
There are instances (e.g. in Gitlab::UsageData) of passing HLLRedisCounter to the block in #redis_usage_data and it's errors wouldn't be rescued to return fallback value. This would potentially result in failing the entire Usage Ping generation. This prevents that and hardens the method. All HLLRedisCounter custom exceptions are rescued, since EventError is their superclass. See !54600
Piotr Skorupa authoredThere are instances (e.g. in Gitlab::UsageData) of passing HLLRedisCounter to the block in #redis_usage_data and it's errors wouldn't be rescued to return fallback value. This would potentially result in failing the entire Usage Ping generation. This prevents that and hardens the method. All HLLRedisCounter custom exceptions are rescued, since EventError is their superclass. See !54600
Code owners
Assign users and groups as approvers for specific file changes. Learn more.