remove dyno count check

This commit is contained in:
Konstantin Haase 2015-01-19 15:49:54 +01:00
parent d345701948
commit 7e9c30896e

View File

@ -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