module Semian::RedisClient

def ensure_connected(retryable: true)

def ensure_connected(retryable: true)
  if block_given?
    super do |connection|
      acquire_semian_resource(adapter: :redis_client, scope: :query) do
        yield connection
      end
    end
  else
    super
  end
end