ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 5.209 seconds)
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 189, in block in wait_poll
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 180, in loop
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 180, in wait_poll
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 135, in block in poll
File "/home/deploy/.rbenv/versions/2.3.6/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 145, in synchronize
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 133, in poll
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 425, in acquire_connection
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 349, in block in checkout
File "/home/deploy/.rbenv/versions/2.3.6/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 348, in checkout
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 263, in block in connection
File "/home/deploy/.rbenv/versions/2.3.6/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 262, in connection
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 571, in retrieve_connection
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_handling.rb", line 113, in retrieve_connection
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_handling.rb", line 87, in connection
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/query_cache.rb", line 31, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 653, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb", line 29, in block in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 88, in __run_callbacks__
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 778, in _run_call_callbacks
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 81, in run_callbacks
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/callbacks.rb", line 27, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/remote_ip.rb", line 78, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 728, in scoped
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb", line 17, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/show_exceptions.rb", line 30, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb", line 38, in call_app
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb", line 20, in block in call
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb", line 68, in block in tagged
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/tagged_logging.rb", line 26, in tagged
File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/active
View details in Rollbar: https://rollbar.com/mroach/myflightmap/items/160/