Skip to content
  • Additonal Patch for testing switching between environments

            if environment.name == 'production'
              render status: :ok, json: '{"ops_rate":{"total":[[1634920680, 1],[1634924680, 4],[1634929680, 2]],"drops":[[1634924680, 8],[1634928680, 5],[1634929680, 5]]},"ops_total":{"total":1,"drops":1}}'
            else
              render status: :ok, json: '{"ops_rate":{"total":[[1634920680, 8],[1634924680, 9],[1634929680, 8]],"drops":[[1634924680, 1],[1634928680, 5],[1634929680, 3]]},"ops_total":{"total":10,"drops":1}}'
            end
            return
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment