{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/1838","labels_url":"https://api.github.com/repos/librenms/librenms/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/1838/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/1838/events","html_url":"https://github.com/librenms/librenms/pull/1838","id":104529064,"number":1838,"title":"poller-service with all locking in Python","user":{"login":"clinta","id":3177437,"avatar_url":"https://avatars.githubusercontent.com/u/3177437?v=3","gravatar_id":"","url":"https://api.github.com/users/clinta","html_url":"https://github.com/clinta","followers_url":"https://api.github.com/users/clinta/followers","following_url":"https://api.github.com/users/clinta/following{/other_user}","gists_url":"https://api.github.com/users/clinta/gists{/gist_id}","starred_url":"https://api.github.com/users/clinta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clinta/subscriptions","organizations_url":"https://api.github.com/users/clinta/orgs","repos_url":"https://api.github.com/users/clinta/repos","events_url":"https://api.github.com/users/clinta/events{/privacy}","received_events_url":"https://api.github.com/users/clinta/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/Discovery","name":"Discovery","color":"ffff99"},{"url":"https://api.github.com/repos/librenms/librenms/labels/Polling","name":"Polling","color":"99FF99"}],"state":"open","locked":false,"assignee":{"login":"f0o","id":1656377,"avatar_url":"https://avatars.githubusercontent.com/u/1656377?v=3","gravatar_id":"","url":"https://api.github.com/users/f0o","html_url":"https://github.com/f0o","followers_url":"https://api.github.com/users/f0o/followers","following_url":"https://api.github.com/users/f0o/following{/other_user}","gists_url":"https://api.github.com/users/f0o/gists{/gist_id}","starred_url":"https://api.github.com/users/f0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0o/subscriptions","organizations_url":"https://api.github.com/users/f0o/orgs","repos_url":"https://api.github.com/users/f0o/repos","events_url":"https://api.github.com/users/f0o/events{/privacy}","received_events_url":"https://api.github.com/users/f0o/received_events","type":"User","site_admin":false},"milestone":null,"comments":37,"created_at":"2015-09-02T17:07:06Z","updated_at":"2015-09-13T22:48:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/1838","html_url":"https://github.com/librenms/librenms/pull/1838","diff_url":"https://github.com/librenms/librenms/pull/1838.diff","patch_url":"https://github.com/librenms/librenms/pull/1838.patch"},"body":"This update to poller-service allows it to function with the php changes as reverted in #1836.\r\n\r\nTo facilitate all locking within python, poller-service now opens a unique mysql connection per thread. Since there are no php changes this should have no effect on anyone who is not runnning poller-service."},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/139926400","html_url":"https://github.com/librenms/librenms/pull/1838#issuecomment-139926400","issue_url":"https://api.github.com/repos/librenms/librenms/issues/1838","id":139926400,"user":{"login":"spinza","id":3501598,"avatar_url":"https://avatars.githubusercontent.com/u/3501598?v=3","gravatar_id":"","url":"https://api.github.com/users/spinza","html_url":"https://github.com/spinza","followers_url":"https://api.github.com/users/spinza/followers","following_url":"https://api.github.com/users/spinza/following{/other_user}","gists_url":"https://api.github.com/users/spinza/gists{/gist_id}","starred_url":"https://api.github.com/users/spinza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinza/subscriptions","organizations_url":"https://api.github.com/users/spinza/orgs","repos_url":"https://api.github.com/users/spinza/repos","events_url":"https://api.github.com/users/spinza/events{/privacy}","received_events_url":"https://api.github.com/users/spinza/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T22:48:18Z","updated_at":"2015-09-13T22:48:18Z","body":"I have 3 pollers with 16 workers each and I often have 140 connections to my database?  Seems excessive?  I have 2 other pollers that poll specific devices only, so they should only have a handful of workers up at any time."}}