{"action":"closed","issue":{"url":"https://api.github.com/repos/bfosberry/GameSocial/issues/303","labels_url":"https://api.github.com/repos/bfosberry/GameSocial/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/bfosberry/GameSocial/issues/303/comments","events_url":"https://api.github.com/repos/bfosberry/GameSocial/issues/303/events","html_url":"https://github.com/bfosberry/GameSocial/issues/303","id":108996911,"number":303,"title":"# (ActiveRecord::ConnectionTimeoutError) \"could not obtain a database connection within {N} seconds (waited {N} seconds)\"","user":{"login":"bfosberry","id":1553039,"avatar_url":"https://avatars.githubusercontent.com/u/1553039?v=3","gravatar_id":"","url":"https://api.github.com/users/bfosberry","html_url":"https://github.com/bfosberry","followers_url":"https://api.github.com/users/bfosberry/followers","following_url":"https://api.github.com/users/bfosberry/following{/other_user}","gists_url":"https://api.github.com/users/bfosberry/gists{/gist_id}","starred_url":"https://api.github.com/users/bfosberry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfosberry/subscriptions","organizations_url":"https://api.github.com/users/bfosberry/orgs","repos_url":"https://api.github.com/users/bfosberry/repos","events_url":"https://api.github.com/users/bfosberry/events{/privacy}","received_events_url":"https://api.github.com/users/bfosberry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bfosberry/GameSocial/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-30T01:34:53Z","updated_at":"2015-09-30T01:54:11Z","closed_at":"2015-09-30T01:54:11Z","body":"<meta name=\"exception_notification_http\">\n<h2>ActiveRecord::ConnectionTimeoutError occurred in </h2>\n<pre>\ncould not obtain a database connection within 5.000 seconds (waited 5.000 seconds)\nlib/workers/location_sync_worker.rb:10:in `perform&#39;\n</pre>\n<h2>Request</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>URL</td><td>http://:</td></tr>\n<tr><td>IP address</td><td></td></tr>\n<tr><td>Parameters</td><td></td></tr>\n<tr><td>Rails root</td><td>/app</td></tr>\n<tr><td>Timestamp</td><td>2015-09-29 20:34:51 -0500</td></tr>\n</table>\n<h2>Session</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>session id</td><td></td></tr>\n<tr><td>data</td><td>{}\n</td></tr>\n</table>\n<h2>Environment</h2>\n<table class=\"table table-hover table-condensed\">\n<tr><td>args</td><td>[284]</td></tr>\n<tr><td>class</td><td>Workers::LocationSyncWorker</td></tr>\n<tr><td>created_at</td><td>1443559467.8023465</td></tr>\n<tr><td>enqueued_at</td><td>1443560009.1622548</td></tr>\n<tr><td>error_class</td><td>ActiveRecord::ConnectionTimeoutError</td></tr>\n<tr><td>error_message</td><td>could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)</td></tr>\n<tr><td>failed_at</td><td>1443576891.7910516</td></tr>\n<tr><td>jid</td><td>f978d050189f9ee5992b3925</td></tr>\n<tr><td>queue</td><td>sync_location</td></tr>\n<tr><td>rack.session</td><td>{}</td></tr>\n<tr><td>retry</td><td>10</td></tr>\n<tr><td>retry_count</td><td>0</td></tr>\n<tr><td>Process</td><td>3</td></tr>\n<tr><td>Server</td><td>9c720ed6-8ffb-49e6-bb86-23a419c48734</td></tr>\n</table>\n<h2>Backtrace</h2>\n<pre>\nlib/workers/location_sync_worker.rb:10:in `perform&#39;\n</pre>\n<br/>\n<img src='http://sparklines-bitworking.appspot.com/spark.cgi?type=impulse&height=40&upper=6&above-color=red&below-color=gray&width=5&limits=0,6&d=0,0,0,0,0,0,6' alt='{\"runtimeerror\":[\"Sep 30\",6]}' title='{\"runtimeerror\":[\"Sep 30\",6]}'/>"}}