Skip to content

Commit b074d39

Browse files
committed
Remove keep-awake ping on heroku
Heroku's new Free tier requires applications to sleep for at least six hours a day, thus we can not keep huginn awake. Every paid tier does not but the application to sleep at all.
1 parent ced14e4 commit b074d39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

deployment/heroku/unicorn.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717

1818
sleep 45
1919

20-
if ENV['DOMAIN']
21-
force_ssl = ENV['FORCE_SSL'] == 'true'
22-
Net::HTTP.get_response(URI((force_ssl ? "https://" : "http://") + ENV['DOMAIN']))
23-
end
24-
2520
begin
2621
Process.getpgid worker_pid
2722
rescue Errno::ESRCH

0 commit comments

Comments
 (0)