{"id":17965087,"url":"https://github.com/tkyshm/delay","last_synced_at":"2026-04-29T02:42:20.537Z","repository":{"id":80117448,"uuid":"83867366","full_name":"tkyshm/delay","owner":"tkyshm","description":"delay job queue","archived":false,"fork":false,"pushed_at":"2017-03-20T02:28:26.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T08:16:29.746Z","etag":null,"topics":["delayed-jobs","distributed-systems","docker","erlang","job-queue","job-scheduler"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkyshm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-04T05:23:53.000Z","updated_at":"2019-07-15T21:54:18.000Z","dependencies_parsed_at":"2023-02-28T12:00:53.838Z","dependency_job_id":null,"html_url":"https://github.com/tkyshm/delay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fdelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fdelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fdelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkyshm%2Fdelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkyshm","download_url":"https://codeload.github.com/tkyshm/delay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070779,"owners_count":20878581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delayed-jobs","distributed-systems","docker","erlang","job-queue","job-scheduler"],"created_at":"2024-10-29T12:10:04.904Z","updated_at":"2026-04-29T02:42:15.497Z","avatar_url":"https://github.com/tkyshm.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/tkyshm/delay.svg?branch=master)](https://travis-ci.org/tkyshm/delay)\n\ndelay\n=====\n\nSimple delay job Application\n\nBuild\n-----\n\n    $ rebar3 compile\n\n----\n\n## API\n### POST /api/enqueue\n- Content-Type: application/json\n- Post parameters\n\nparam      | description\n---------- | -------------------------------------------------------\nexec\\_time | exec\\_time is specified by unixtime (seconds). (optional)\nwebhook    | GET request to webhook when a job is finished. (optional)\ndata       | user job's parameters. (optional)\n\n```json\n{\n    \"event\": \"event_name\",\n    \"exec_time\": 1488714710,\n    \"webhook\": \"hook_url\",\n    \"data\" : {\n        \"id\": \"xxx\",\n        \"name\": \"kirito\"\n    }\n}\n```\n\n### GET /api/dequeue\n\n- Support long-polling\n- Request headers:\n\nheader          | value\n--------------- | --------------------------------------\nX-Delay-Timeout | Long-polling timeout (seconds).\n\n- Response:\n```json\n[\n  {\n    \"uid\": \"afcc27ac-3f03-4cdd-ad73-ddd9422b56d6\",\n    \"data\": {\n      \"name\": \"abc\",\n      \"id\": \"12304\"\n    }\n  },\n  {\n    \"uid\": \"ad09e2c3-f14f-4c51-a8df-6b7a3b7ba3d6\",\n    \"data\": {\n      \"name\": \"defg\",\n      \"id\": \"348593\"\n    }\n  }\n]\n```\n\n### TODO:\n- [x] enqueue\n- [x] docker\n- [x] mnesia\n- [x] job worker\n- [x] dequeue\n- [x] long-polling\n- [x] webhook\n- [x] test code\n- [x] ci\n- [ ] load test\n- [ ] document\n- [ ] cleans commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkyshm%2Fdelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkyshm%2Fdelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkyshm%2Fdelay/lists"}