Sha256: 9563d5dddb87095d300228dcad6c6eb7cd91e8a3afb03313e1165a5386867dcb
Contents?: true
Size: 293 Bytes
Versions: 5
Compression:
Stored size: 293 Bytes
Contents
require 'sinatra' module RedisFailover # Serves as an endpoint for discovering the current redis master and slaves. class Server < Sinatra::Base disable :logging get '/redis_servers' do content_type :json MultiJson.encode(Runner.node_manager.nodes) end end end
Version data entries
5 entries across 5 versions & 1 rubygems