{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/32","repository_url":"https://api.github.com/repos/yegor256/dynamo-archive","labels_url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/32/comments","events_url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/32/events","html_url":"https://github.com/yegor256/dynamo-archive/pull/32","id":248574313,"number":32,"title":"Migrate restore script to promises","user":{"login":"dusterio","id":11039918,"avatar_url":"https://avatars2.githubusercontent.com/u/11039918?v=4","gravatar_id":"","url":"https://api.github.com/users/dusterio","html_url":"https://github.com/dusterio","followers_url":"https://api.github.com/users/dusterio/followers","following_url":"https://api.github.com/users/dusterio/following{/other_user}","gists_url":"https://api.github.com/users/dusterio/gists{/gist_id}","starred_url":"https://api.github.com/users/dusterio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dusterio/subscriptions","organizations_url":"https://api.github.com/users/dusterio/orgs","repos_url":"https://api.github.com/users/dusterio/repos","events_url":"https://api.github.com/users/dusterio/events{/privacy}","received_events_url":"https://api.github.com/users/dusterio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-08-08T01:22:28Z","updated_at":"2018-05-02T23:35:47Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/yegor256/dynamo-archive/pulls/32","html_url":"https://github.com/yegor256/dynamo-archive/pull/32","diff_url":"https://github.com/yegor256/dynamo-archive/pull/32.diff","patch_url":"https://github.com/yegor256/dynamo-archive/pull/32.patch"},"body":"Tested on a table with 100,000 entries\r\nMigrated to promises and ES6 syntax because it's supported in Node\r\nThe new logic is like this:\r\nEvery line of the standard input creates one promise (an insert task), then these promises are grouped in batches depending on Writing Capacity. Eg. if there are 50 writing units, there will be 50 launched promises in parallel. Then, batches will run one after another in series that will allow to introduce delays."},"comment":{"url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/comments/386153137","html_url":"https://github.com/yegor256/dynamo-archive/pull/32#issuecomment-386153137","issue_url":"https://api.github.com/repos/yegor256/dynamo-archive/issues/32","id":386153137,"user":{"login":"0crat","id":24387511,"avatar_url":"https://avatars1.githubusercontent.com/u/24387511?v=4","gravatar_id":"","url":"https://api.github.com/users/0crat","html_url":"https://github.com/0crat","followers_url":"https://api.github.com/users/0crat/followers","following_url":"https://api.github.com/users/0crat/following{/other_user}","gists_url":"https://api.github.com/users/0crat/gists{/gist_id}","starred_url":"https://api.github.com/users/0crat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0crat/subscriptions","organizations_url":"https://api.github.com/users/0crat/orgs","repos_url":"https://api.github.com/users/0crat/repos","events_url":"https://api.github.com/users/0crat/events{/privacy}","received_events_url":"https://api.github.com/users/0crat/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T23:35:47Z","updated_at":"2018-05-02T23:35:47Z","author_association":"NONE","body":"@yegor256[/z](https://www.0crat.com/u/yegor256) everybody who has role `DEV` are banned at this job; I won't be able to assign anyone automatically; consider assigning someone manually (as in [§19](http://www.zerocracy.com/policy.html#19)), or invite more people (as in [§51](http://www.zerocracy.com/policy.html#51)), or remove the job from the scope (as in [§14](http://www.zerocracy.com/policy.html#14))\n\n<!-- https://www.0crat.com/footprint/C3RFVLU72/1222341896, version: 1.0-SNAPSHOT, hash: c4d342c9 -->"}}
{"actor":{"display_login":"0crat"}}