{"action":"created","issue":{"url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/38","labels_url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/38/comments","events_url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/38/events","html_url":"https://github.com/Clever/heka-clever-plugins/pull/38","id":105498525,"number":38,"title":"IP-263: Longer timeout for queries  + extra check against int16 overflow","user":{"login":"nikhilpandit","id":59177,"avatar_url":"https://avatars.githubusercontent.com/u/59177?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilpandit","html_url":"https://github.com/nikhilpandit","followers_url":"https://api.github.com/users/nikhilpandit/followers","following_url":"https://api.github.com/users/nikhilpandit/following{/other_user}","gists_url":"https://api.github.com/users/nikhilpandit/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilpandit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilpandit/subscriptions","organizations_url":"https://api.github.com/users/nikhilpandit/orgs","repos_url":"https://api.github.com/users/nikhilpandit/repos","events_url":"https://api.github.com/users/nikhilpandit/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilpandit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikhilpandit","id":59177,"avatar_url":"https://avatars.githubusercontent.com/u/59177?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilpandit","html_url":"https://github.com/nikhilpandit","followers_url":"https://api.github.com/users/nikhilpandit/followers","following_url":"https://api.github.com/users/nikhilpandit/following{/other_user}","gists_url":"https://api.github.com/users/nikhilpandit/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilpandit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilpandit/subscriptions","organizations_url":"https://api.github.com/users/nikhilpandit/orgs","repos_url":"https://api.github.com/users/nikhilpandit/repos","events_url":"https://api.github.com/users/nikhilpandit/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilpandit/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-09-09T01:20:53Z","updated_at":"2015-09-09T02:53:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Clever/heka-clever-plugins/pulls/38","html_url":"https://github.com/Clever/heka-clever-plugins/pull/38","diff_url":"https://github.com/Clever/heka-clever-plugins/pull/38.diff","patch_url":"https://github.com/Clever/heka-clever-plugins/pull/38.patch"},"body":"We were seeing errors of the form: `pq: there is no parameter $-32768` and `Postgres insert took more than 60000ms.`. This PR (tested in staging) increases the timeout for the queries and adds extra checks on the line that seemed to be the culprit for the `pq: there is no parameter $-32768` error."},"comment":{"url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/comments/138761802","html_url":"https://github.com/Clever/heka-clever-plugins/pull/38#issuecomment-138761802","issue_url":"https://api.github.com/repos/Clever/heka-clever-plugins/issues/38","id":138761802,"user":{"login":"nikhilpandit","id":59177,"avatar_url":"https://avatars.githubusercontent.com/u/59177?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilpandit","html_url":"https://github.com/nikhilpandit","followers_url":"https://api.github.com/users/nikhilpandit/followers","following_url":"https://api.github.com/users/nikhilpandit/following{/other_user}","gists_url":"https://api.github.com/users/nikhilpandit/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilpandit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilpandit/subscriptions","organizations_url":"https://api.github.com/users/nikhilpandit/orgs","repos_url":"https://api.github.com/users/nikhilpandit/repos","events_url":"https://api.github.com/users/nikhilpandit/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilpandit/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T02:53:06Z","updated_at":"2015-09-09T02:53:06Z","body":"the reason the tests were passing on drone is that drone only tests the tests inside `postgres` dir: https://github.com/Clever/heka-clever-plugins/blob/master/.drone.yml#L17. I tried running all the tests on drone, and they fail with the same error as local. Will need to spend more time to fix the tests in this repo."}}