diff --git a/lib/tasks/poll.rake b/lib/tasks/poll.rake index e2499e8e..440cc8eb 100644 --- a/lib/tasks/poll.rake +++ b/lib/tasks/poll.rake @@ -43,7 +43,6 @@ namespace :poll do Rails.logger.info("Server id=#{server.id} is healthy. Bringing back online...") server.reset_counters - server.enabled = true server.load = meetings.length * (server.load_multiplier.nil? ? 1.0 : server.load_multiplier.to_d) server.online = true end @@ -58,7 +57,6 @@ namespace :poll do Rails.logger.warn("Server id=#{server.id} is unhealthy. Panicking and setting offline...") Rake::Task['servers:panic'].invoke(server.id) # Panic server to clear meetings server.reset_counters - server.enabled = false server.load = nil server.online = false ensure