{"action":"created","comment":{"url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/comments/201501376","pull_request_review_id":136017280,"id":201501376,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUwMTM3Ng==","diff_hunk":"@@ -10,13 +10,21 @@ returns number of jobs raised and the timestamp of the next job (within the near\n local now = tonumber(ARGV[1])\n \n -- raise any delayed jobs that are now valid by moving from delayed to waiting\n-local raising = redis.call(\"zrangebyscore\", KEYS[1], 0, ARGV[1])\n-local numRaising = #raising\n+local offset = 0\n+-- There is a default 1024 element restriction","path":"lib/lua/raiseDelayedJobs.lua","position":7,"original_position":7,"commit_id":"d9be2288769571210f4e60cbbac13714a5ab3ed9","original_commit_id":"d9be2288769571210f4e60cbbac13714a5ab3ed9","user":{"login":"skeggse","id":1348991,"node_id":"MDQ6VXNlcjEzNDg5OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/1348991?v=4","gravatar_id":"","url":"https://api.github.com/users/skeggse","html_url":"https://github.com/skeggse","followers_url":"https://api.github.com/users/skeggse/followers","following_url":"https://api.github.com/users/skeggse/following{/other_user}","gists_url":"https://api.github.com/users/skeggse/gists{/gist_id}","starred_url":"https://api.github.com/users/skeggse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeggse/subscriptions","organizations_url":"https://api.github.com/users/skeggse/orgs","repos_url":"https://api.github.com/users/skeggse/repos","events_url":"https://api.github.com/users/skeggse/events{/privacy}","received_events_url":"https://api.github.com/users/skeggse/received_events","type":"User","site_admin":false},"body":"nit: `s/There/there`","created_at":"2018-07-10T21:29:26Z","updated_at":"2018-07-10T21:30:00Z","html_url":"https://github.com/bee-queue/bee-queue/pull/123#discussion_r201501376","pull_request_url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/comments/201501376"},"html":{"href":"https://github.com/bee-queue/bee-queue/pull/123#discussion_r201501376"},"pull_request":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123"}},"in_reply_to_id":201501327},"pull_request":{"url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123","id":192496419,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNDk2NDE5","html_url":"https://github.com/bee-queue/bee-queue/pull/123","diff_url":"https://github.com/bee-queue/bee-queue/pull/123.diff","patch_url":"https://github.com/bee-queue/bee-queue/pull/123.patch","issue_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/123","number":123,"state":"open","locked":false,"title":"Fix \"too many values to unpack\" while raising delayed jobs to waiting state","user":{"login":"mattbornski","id":101117,"node_id":"MDQ6VXNlcjEwMTExNw==","avatar_url":"https://avatars2.githubusercontent.com/u/101117?v=4","gravatar_id":"","url":"https://api.github.com/users/mattbornski","html_url":"https://github.com/mattbornski","followers_url":"https://api.github.com/users/mattbornski/followers","following_url":"https://api.github.com/users/mattbornski/following{/other_user}","gists_url":"https://api.github.com/users/mattbornski/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbornski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbornski/subscriptions","organizations_url":"https://api.github.com/users/mattbornski/orgs","repos_url":"https://api.github.com/users/mattbornski/repos","events_url":"https://api.github.com/users/mattbornski/events{/privacy}","received_events_url":"https://api.github.com/users/mattbornski/received_events","type":"User","site_admin":false},"body":"{ ReplyError: ERR Error running script (call to f_7c74c5918ff75c88a0db8507b3c0a4ddf34845b3): @user_script:17: user_script:17: too many results to unpack \r\nat parseError (/var/task/node_modules/redis-parser/lib/parser.js:193:12)\r\nat parseType (/var/task/node_modules/redis-parser/lib/parser.js:303:14)\r\ncommand: 'EVALSHA',\r\nargs: \r\n[ '7c74c5918ff75c88a0db8507b3c0a4ddf34845b3',\r\n2,\r\n'bq:queue_name:delayed',\r\n'bq:queue_name:waiting',\r\n1528136012927,\r\n1000 ],\r\ncode: 'ERR' }","created_at":"2018-06-04T18:52:15Z","updated_at":"2018-07-10T21:30:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58456fd4ebe1e0fe0cbdc7d0778eaaad94d9176d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123/commits","review_comments_url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123/comments","review_comment_url":"https://api.github.com/repos/bee-queue/bee-queue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/123/comments","statuses_url":"https://api.github.com/repos/bee-queue/bee-queue/statuses/d9be2288769571210f4e60cbbac13714a5ab3ed9","head":{"label":"mattbornski:master","ref":"master","sha":"d9be2288769571210f4e60cbbac13714a5ab3ed9","user":{"login":"mattbornski","id":101117,"node_id":"MDQ6VXNlcjEwMTExNw==","avatar_url":"https://avatars2.githubusercontent.com/u/101117?v=4","gravatar_id":"","url":"https://api.github.com/users/mattbornski","html_url":"https://github.com/mattbornski","followers_url":"https://api.github.com/users/mattbornski/followers","following_url":"https://api.github.com/users/mattbornski/following{/other_user}","gists_url":"https://api.github.com/users/mattbornski/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbornski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbornski/subscriptions","organizations_url":"https://api.github.com/users/mattbornski/orgs","repos_url":"https://api.github.com/users/mattbornski/repos","events_url":"https://api.github.com/users/mattbornski/events{/privacy}","received_events_url":"https://api.github.com/users/mattbornski/received_events","type":"User","site_admin":false},"repo":{"id":136067981,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwNjc5ODE=","name":"bee-queue","full_name":"mattbornski/bee-queue","owner":{"login":"mattbornski","id":101117,"node_id":"MDQ6VXNlcjEwMTExNw==","avatar_url":"https://avatars2.githubusercontent.com/u/101117?v=4","gravatar_id":"","url":"https://api.github.com/users/mattbornski","html_url":"https://github.com/mattbornski","followers_url":"https://api.github.com/users/mattbornski/followers","following_url":"https://api.github.com/users/mattbornski/following{/other_user}","gists_url":"https://api.github.com/users/mattbornski/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbornski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbornski/subscriptions","organizations_url":"https://api.github.com/users/mattbornski/orgs","repos_url":"https://api.github.com/users/mattbornski/repos","events_url":"https://api.github.com/users/mattbornski/events{/privacy}","received_events_url":"https://api.github.com/users/mattbornski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattbornski/bee-queue","description":"A simple, fast, robust job/task queue for Node.js, backed by Redis.","fork":true,"url":"https://api.github.com/repos/mattbornski/bee-queue","forks_url":"https://api.github.com/repos/mattbornski/bee-queue/forks","keys_url":"https://api.github.com/repos/mattbornski/bee-queue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattbornski/bee-queue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattbornski/bee-queue/teams","hooks_url":"https://api.github.com/repos/mattbornski/bee-queue/hooks","issue_events_url":"https://api.github.com/repos/mattbornski/bee-queue/issues/events{/number}","events_url":"https://api.github.com/repos/mattbornski/bee-queue/events","assignees_url":"https://api.github.com/repos/mattbornski/bee-queue/assignees{/user}","branches_url":"https://api.github.com/repos/mattbornski/bee-queue/branches{/branch}","tags_url":"https://api.github.com/repos/mattbornski/bee-queue/tags","blobs_url":"https://api.github.com/repos/mattbornski/bee-queue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattbornski/bee-queue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattbornski/bee-queue/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattbornski/bee-queue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattbornski/bee-queue/statuses/{sha}","languages_url":"https://api.github.com/repos/mattbornski/bee-queue/languages","stargazers_url":"https://api.github.com/repos/mattbornski/bee-queue/stargazers","contributors_url":"https://api.github.com/repos/mattbornski/bee-queue/contributors","subscribers_url":"https://api.github.com/repos/mattbornski/bee-queue/subscribers","subscription_url":"https://api.github.com/repos/mattbornski/bee-queue/subscription","commits_url":"https://api.github.com/repos/mattbornski/bee-queue/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattbornski/bee-queue/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattbornski/bee-queue/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattbornski/bee-queue/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattbornski/bee-queue/contents/{+path}","compare_url":"https://api.github.com/repos/mattbornski/bee-queue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattbornski/bee-queue/merges","archive_url":"https://api.github.com/repos/mattbornski/bee-queue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattbornski/bee-queue/downloads","issues_url":"https://api.github.com/repos/mattbornski/bee-queue/issues{/number}","pulls_url":"https://api.github.com/repos/mattbornski/bee-queue/pulls{/number}","milestones_url":"https://api.github.com/repos/mattbornski/bee-queue/milestones{/number}","notifications_url":"https://api.github.com/repos/mattbornski/bee-queue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattbornski/bee-queue/labels{/name}","releases_url":"https://api.github.com/repos/mattbornski/bee-queue/releases{/id}","deployments_url":"https://api.github.com/repos/mattbornski/bee-queue/deployments","created_at":"2018-06-04T18:41:08Z","updated_at":"2018-06-04T18:50:50Z","pushed_at":"2018-06-04T18:50:49Z","git_url":"git://github.com/mattbornski/bee-queue.git","ssh_url":"git@github.com:mattbornski/bee-queue.git","clone_url":"https://github.com/mattbornski/bee-queue.git","svn_url":"https://github.com/mattbornski/bee-queue","homepage":"","size":843,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bee-queue:master","ref":"master","sha":"c92207e946a50056227a214444fa3405f57433da","user":{"login":"bee-queue","id":30018338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDE4MzM4","avatar_url":"https://avatars0.githubusercontent.com/u/30018338?v=4","gravatar_id":"","url":"https://api.github.com/users/bee-queue","html_url":"https://github.com/bee-queue","followers_url":"https://api.github.com/users/bee-queue/followers","following_url":"https://api.github.com/users/bee-queue/following{/other_user}","gists_url":"https://api.github.com/users/bee-queue/gists{/gist_id}","starred_url":"https://api.github.com/users/bee-queue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bee-queue/subscriptions","organizations_url":"https://api.github.com/users/bee-queue/orgs","repos_url":"https://api.github.com/users/bee-queue/repos","events_url":"https://api.github.com/users/bee-queue/events{/privacy}","received_events_url":"https://api.github.com/users/bee-queue/received_events","type":"Organization","site_admin":false},"repo":{"id":29453461,"node_id":"MDEwOlJlcG9zaXRvcnkyOTQ1MzQ2MQ==","name":"bee-queue","full_name":"bee-queue/bee-queue","owner":{"login":"bee-queue","id":30018338,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDE4MzM4","avatar_url":"https://avatars0.githubusercontent.com/u/30018338?v=4","gravatar_id":"","url":"https://api.github.com/users/bee-queue","html_url":"https://github.com/bee-queue","followers_url":"https://api.github.com/users/bee-queue/followers","following_url":"https://api.github.com/users/bee-queue/following{/other_user}","gists_url":"https://api.github.com/users/bee-queue/gists{/gist_id}","starred_url":"https://api.github.com/users/bee-queue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bee-queue/subscriptions","organizations_url":"https://api.github.com/users/bee-queue/orgs","repos_url":"https://api.github.com/users/bee-queue/repos","events_url":"https://api.github.com/users/bee-queue/events{/privacy}","received_events_url":"https://api.github.com/users/bee-queue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bee-queue/bee-queue","description":"A simple, fast, robust job/task queue for Node.js, backed by Redis.","fork":false,"url":"https://api.github.com/repos/bee-queue/bee-queue","forks_url":"https://api.github.com/repos/bee-queue/bee-queue/forks","keys_url":"https://api.github.com/repos/bee-queue/bee-queue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bee-queue/bee-queue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bee-queue/bee-queue/teams","hooks_url":"https://api.github.com/repos/bee-queue/bee-queue/hooks","issue_events_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/events{/number}","events_url":"https://api.github.com/repos/bee-queue/bee-queue/events","assignees_url":"https://api.github.com/repos/bee-queue/bee-queue/assignees{/user}","branches_url":"https://api.github.com/repos/bee-queue/bee-queue/branches{/branch}","tags_url":"https://api.github.com/repos/bee-queue/bee-queue/tags","blobs_url":"https://api.github.com/repos/bee-queue/bee-queue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bee-queue/bee-queue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bee-queue/bee-queue/git/refs{/sha}","trees_url":"https://api.github.com/repos/bee-queue/bee-queue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bee-queue/bee-queue/statuses/{sha}","languages_url":"https://api.github.com/repos/bee-queue/bee-queue/languages","stargazers_url":"https://api.github.com/repos/bee-queue/bee-queue/stargazers","contributors_url":"https://api.github.com/repos/bee-queue/bee-queue/contributors","subscribers_url":"https://api.github.com/repos/bee-queue/bee-queue/subscribers","subscription_url":"https://api.github.com/repos/bee-queue/bee-queue/subscription","commits_url":"https://api.github.com/repos/bee-queue/bee-queue/commits{/sha}","git_commits_url":"https://api.github.com/repos/bee-queue/bee-queue/git/commits{/sha}","comments_url":"https://api.github.com/repos/bee-queue/bee-queue/comments{/number}","issue_comment_url":"https://api.github.com/repos/bee-queue/bee-queue/issues/comments{/number}","contents_url":"https://api.github.com/repos/bee-queue/bee-queue/contents/{+path}","compare_url":"https://api.github.com/repos/bee-queue/bee-queue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bee-queue/bee-queue/merges","archive_url":"https://api.github.com/repos/bee-queue/bee-queue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bee-queue/bee-queue/downloads","issues_url":"https://api.github.com/repos/bee-queue/bee-queue/issues{/number}","pulls_url":"https://api.github.com/repos/bee-queue/bee-queue/pulls{/number}","milestones_url":"https://api.github.com/repos/bee-queue/bee-queue/milestones{/number}","notifications_url":"https://api.github.com/repos/bee-queue/bee-queue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bee-queue/bee-queue/labels{/name}","releases_url":"https://api.github.com/repos/bee-queue/bee-queue/releases{/id}","deployments_url":"https://api.github.com/repos/bee-queue/bee-queue/deployments","created_at":"2015-01-19T04:22:11Z","updated_at":"2018-07-10T14:16:46Z","pushed_at":"2018-07-09T07:55:13Z","git_url":"git://github.com/bee-queue/bee-queue.git","ssh_url":"git@github.com:bee-queue/bee-queue.git","clone_url":"https://github.com/bee-queue/bee-queue.git","svn_url":"https://github.com/bee-queue/bee-queue","homepage":"","size":901,"stargazers_count":965,"watchers_count":965,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":72,"open_issues":40,"watchers":965,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123"},"html":{"href":"https://github.com/bee-queue/bee-queue/pull/123"},"issue":{"href":"https://api.github.com/repos/bee-queue/bee-queue/issues/123"},"comments":{"href":"https://api.github.com/repos/bee-queue/bee-queue/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bee-queue/bee-queue/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/bee-queue/bee-queue/statuses/d9be2288769571210f4e60cbbac13714a5ab3ed9"}},"author_association":"NONE"}}
{"actor":{"display_login":"skeggse"}}