From 7e9c30896e7ef3fe813e0ceaeb02a3ace203c427 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Mon, 19 Jan 2015 15:49:54 +0100 Subject: [PATCH] remove dyno count check --- lib/conditional_skylight.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/conditional_skylight.rb b/lib/conditional_skylight.rb index ebda6717..a3ddf652 100644 --- a/lib/conditional_skylight.rb +++ b/lib/conditional_skylight.rb @@ -30,11 +30,6 @@ module ConditionalSkylight return true end - unless ENV['DYNO_COUNT'.freeze] - warn "[ConditionalSkylight] $DYNO_COUNT not set, skipping lucky dyno check" - return true - end - dyno = Integer ENV['DYNO'.freeze][/\d+/] if dyno % 5 == 1