• Sean McGivern's avatar
    Return warnings for performance bar from backend · 23c1cfcc
    Sean McGivern authored
    For each DetailedView subclass, we add a `warnings` array to:
    
    1. The top-level response.
    2. Each individual call under the `details` key.
    
    We use the `.thresholds` hash on the DetailedView to determine what's a
    warning. If that hash is empty (the default), then the warnings array
    will always be empty.
    23c1cfcc
redis_detailed_spec.rb 1.11 KB