payload: {"action":"created","issue":{"url":"https://api.github.com/repos/zerocracy/farm/issues/1717","repository_url":"https://api.github.com/repos/zerocracy/farm","labels_url":"https://api.github.com/repos/zerocracy/farm/issues/1717/labels{/name}","comments_url":"https://api.github.com/repos/zerocracy/farm/issues/1717/comments","events_url":"https://api.github.com/repos/zerocracy/farm/issues/1717/events","html_url":"https://github.com/zerocracy/farm/issues/1717","id":362553676,"node_id":"MDU6SXNzdWUzNjI1NTM2NzY=","number":1717,"title":"Claims priority","user":{"login":"g4s8","id":1524988,"node_id":"MDQ6VXNlcjE1MjQ5ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1524988?v=4","gravatar_id":"","url":"https://api.github.com/users/g4s8","html_url":"https://github.com/g4s8","followers_url":"https://api.github.com/users/g4s8/followers","following_url":"https://api.github.com/users/g4s8/following{/other_user}","gists_url":"https://api.github.com/users/g4s8/gists{/gist_id}","starred_url":"https://api.github.com/users/g4s8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g4s8/subscriptions","organizations_url":"https://api.github.com/users/g4s8/orgs","repos_url":"https://api.github.com/users/g4s8/repos","events_url":"https://api.github.com/users/g4s8/events{/privacy}","received_events_url":"https://api.github.com/users/g4s8/received_events","type":"User","site_admin":false},"labels":[{"id":817441668,"node_id":"MDU6TGFiZWw4MTc0NDE2Njg=","url":"https://api.github.com/repos/zerocracy/farm/labels/scope","name":"scope","color":"3a6622","default":false}],"state":"open","locked":false,"assignee":{"login":"g4s8","id":1524988,"node_id":"MDQ6VXNlcjE1MjQ5ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1524988?v=4","gravatar_id":"","url":"https://api.github.com/users/g4s8","html_url":"https://github.com/g4s8","followers_url":"https://api.github.com/users/g4s8/followers","following_url":"https://api.github.com/users/g4s8/following{/other_user}","gists_url":"https://api.github.com/users/g4s8/gists{/gist_id}","starred_url":"https://api.github.com/users/g4s8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g4s8/subscriptions","organizations_url":"https://api.github.com/users/g4s8/orgs","repos_url":"https://api.github.com/users/g4s8/repos","events_url":"https://api.github.com/users/g4s8/events{/privacy}","received_events_url":"https://api.github.com/users/g4s8/received_events","type":"User","site_admin":false},"assignees":[{"login":"g4s8","id":1524988,"node_id":"MDQ6VXNlcjE1MjQ5ODg=","avatar_url":"https://avatars0.githubusercontent.com/u/1524988?v=4","gravatar_id":"","url":"https://api.github.com/users/g4s8","html_url":"https://github.com/g4s8","followers_url":"https://api.github.com/users/g4s8/followers","following_url":"https://api.github.com/users/g4s8/following{/other_user}","gists_url":"https://api.github.com/users/g4s8/gists{/gist_id}","starred_url":"https://api.github.com/users/g4s8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g4s8/subscriptions","organizations_url":"https://api.github.com/users/g4s8/orgs","repos_url":"https://api.github.com/users/g4s8/repos","events_url":"https://api.github.com/users/g4s8/events{/privacy}","received_events_url":"https://api.github.com/users/g4s8/received_events","type":"User","site_admin":false}],"milestone":null,"comments":39,"created_at":"2018-09-21T10:29:46Z","updated_at":"2019-02-18T15:52:02Z","closed_at":null,"author_association":"COLLABORATOR","body":"The problem: scheduled jobs (aka pings) may produce a high load, every minute election is running for all projects, and job to resign by delay, every hour a lot of routine jobs are started together. If a user tries to send a command in a chat-bot or make some action in github which produces a webhook, while ping jobs are running, this claim (from chat-bot or webhook) will be placed in the end of the queue (which is very big on \"pings time\") and user may see the response after few minutes.\r\n   \r\nI think that some claims should be processed faster than others, e.g. requests in chat bot to manage users profile or project requires faster response than webhooks processing, but webhooks processing is more important than jobs from pings. So I'm suggesting to add `priority` property to claim structure and process the queue depends on this property. So chat bot requests may have `high` priority, webhook claims - `medium` and ping claims - `low`."},"comment":{"url":"https://api.github.com/repos/zerocracy/farm/issues/comments/464785151","html_url":"https://github.com/zerocracy/farm/issues/1717#issuecomment-464785151","issue_url":"https://api.github.com/repos/zerocracy/farm/issues/1717","id":464785151,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NDc4NTE1MQ==","user":{"login":"rultor","id":8086956,"node_id":"MDQ6VXNlcjgwODY5NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/8086956?v=4","gravatar_id":"","url":"https://api.github.com/users/rultor","html_url":"https://github.com/rultor","followers_url":"https://api.github.com/users/rultor/followers","following_url":"https://api.github.com/users/rultor/following{/other_user}","gists_url":"https://api.github.com/users/rultor/gists{/gist_id}","starred_url":"https://api.github.com/users/rultor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rultor/subscriptions","organizations_url":"https://api.github.com/users/rultor/orgs","repos_url":"https://api.github.com/users/rultor/repos","events_url":"https://api.github.com/users/rultor/events{/privacy}","received_events_url":"https://api.github.com/users/rultor/received_events","type":"User","site_admin":false},"created_at":"2019-02-18T15:52:02Z","updated_at":"2019-02-18T15:52:02Z","author_association":"CONTRIBUTOR","body":"> @rultor release, tag=`0.41.8`\n\n@g4s8 OK, I will release it now. Please check the progress [here](http://www.rultor.com/t/17875-464784247)"}}
other: {"actor":{"display_login":"rultor"}}