Permalink
Browse files

Fix New Relic

  • Loading branch information...
1 parent 76a1252 commit 50b11246633f9e8db88b5bec472e797e3d81ab76 @henrikhodne committed Dec 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 config.ru
View
3 config.ru
@@ -1,3 +1,6 @@
$LOAD_PATH << File.expand_path('lib')
require 'travis/lite/application'
+
+::NewRelic::Agent.after_fork(:force_reconnect => true) if defined? Unicorn
+
run Travis::Lite::Application

0 comments on commit 50b1124

Please sign in to comment.