{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/6458","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/6458/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/6458/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/6458/events","html_url":"https://github.com/dmwm/WMCore/pull/6458","id":121894340,"number":6458,"title":"Limit the work done by the archiver.","user":{"login":"bbockelm","id":1093447,"avatar_url":"https://avatars.githubusercontent.com/u/1093447?v=3","gravatar_id":"","url":"https://api.github.com/users/bbockelm","html_url":"https://github.com/bbockelm","followers_url":"https://api.github.com/users/bbockelm/followers","following_url":"https://api.github.com/users/bbockelm/following{/other_user}","gists_url":"https://api.github.com/users/bbockelm/gists{/gist_id}","starred_url":"https://api.github.com/users/bbockelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbockelm/subscriptions","organizations_url":"https://api.github.com/users/bbockelm/orgs","repos_url":"https://api.github.com/users/bbockelm/repos","events_url":"https://api.github.com/users/bbockelm/events{/privacy}","received_events_url":"https://api.github.com/users/bbockelm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-13T03:02:08Z","updated_at":"2015-12-13T06:34:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dmwm/WMCore/pulls/6458","html_url":"https://github.com/dmwm/WMCore/pull/6458","diff_url":"https://github.com/dmwm/WMCore/pull/6458.diff","patch_url":"https://github.com/dmwm/WMCore/pull/6458.patch"},"body":"In corner cases (particularly, large-scale kills), the JobArchiver\r\nwill try to pull all possible jobs - possibly more than it can\r\nhandle.\r\n\r\nThis limits the JobArchiver to 10k jobs per type (successful, killed,\r\nexhausted)."},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/164232784","html_url":"https://github.com/dmwm/WMCore/pull/6458#issuecomment-164232784","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/6458","id":164232784,"user":{"login":"cmsdmwmbot","id":15169205,"avatar_url":"https://avatars.githubusercontent.com/u/15169205?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsdmwmbot","html_url":"https://github.com/cmsdmwmbot","followers_url":"https://api.github.com/users/cmsdmwmbot/followers","following_url":"https://api.github.com/users/cmsdmwmbot/following{/other_user}","gists_url":"https://api.github.com/users/cmsdmwmbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsdmwmbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsdmwmbot/subscriptions","organizations_url":"https://api.github.com/users/cmsdmwmbot/orgs","repos_url":"https://api.github.com/users/cmsdmwmbot/repos","events_url":"https://api.github.com/users/cmsdmwmbot/events{/privacy}","received_events_url":"https://api.github.com/users/cmsdmwmbot/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T06:34:11Z","updated_at":"2015-12-13T06:34:11Z","body":"Pre-python 2.6 idioms found in changed files. Please consider updating the code. Suggested patch follows:\n\n```diff\n--- src/python/WMComponent/JobArchiver/JobArchiverPoller.py (original)\n+++ src/python/WMComponent/JobArchiver/JobArchiverPoller.py (refactored)\n@@ -219,7 +219,7 @@\n \n         results = self.loadAction.execute(jobID = binds)\n \n-        if not type(results) == list:\n+        if not isinstance(results, list):\n             results = [results]\n \n         doneList = []\n\n```\n\n"}}