{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/24768","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/24768/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/24768/comments","events_url":"https://api.github.com/repos/rails/rails/issues/24768/events","html_url":"https://github.com/rails/rails/issues/24768","id":151639390,"number":24768,"title":"Timeout parameter not working for oracle database","user":{"login":"KKirad","id":8926616,"avatar_url":"https://avatars.githubusercontent.com/u/8926616?v=3","gravatar_id":"","url":"https://api.github.com/users/KKirad","html_url":"https://github.com/KKirad","followers_url":"https://api.github.com/users/KKirad/followers","following_url":"https://api.github.com/users/KKirad/following{/other_user}","gists_url":"https://api.github.com/users/KKirad/gists{/gist_id}","starred_url":"https://api.github.com/users/KKirad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KKirad/subscriptions","organizations_url":"https://api.github.com/users/KKirad/orgs","repos_url":"https://api.github.com/users/KKirad/repos","events_url":"https://api.github.com/users/KKirad/events{/privacy}","received_events_url":"https://api.github.com/users/KKirad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-28T13:20:12Z","updated_at":"2016-04-28T21:41:30Z","closed_at":"2016-04-28T21:41:30Z","body":"Below is the configuration in the database.yml file:\r\ndevelopment:\r\n  adapter: oracle_enhanced\r\n  host: 10.10.10.58\r\n  port: 1521\r\n  database: TUTSDB\r\n  username: tutsadmin\r\n  password: Tuts1234\r\n  encoding: utf8\r\n  timeout: 15000\r\n\r\n**Rails version**: 4.2.5\r\n**Ruby version** :  ruby 2.0.0p648\r\n\r\n**Actual Result** :\r\nWe get the below error:\r\n**(ActiveRecord::ConnectionTimeoutError) \"could not obtain a database connection within 5 seconds (waited 5.000144774 seconds)**\r\n\r\n**Expected Result** : \r\nIt should wait for 15 sec and then throw the above error.\r\n\r\nWe have used the gem activerecord-oracle_enhanced-adapter (1.6.6) to connect to the DB.\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/215571534","html_url":"https://github.com/rails/rails/issues/24768#issuecomment-215571534","issue_url":"https://api.github.com/repos/rails/rails/issues/24768","id":215571534,"user":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T21:41:30Z","updated_at":"2016-04-28T21:41:30Z","body":"Rails don't have support to oracle out of the box. You should open an issue in the activerecord-oracle_enhanced-adapter gem."}}