[PR #202] [MERGED] Add Scheduler for periodic tasks #1675

Closed
opened 2026-03-07 22:11:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/202
Author: @hibiken
Created: 10/7/2020
Status: Merged
Merged: 10/13/2020
Merged by: @hibiken

Base: masterHead: feature/periodic_scheduler


📝 Commits (5)

  • 1d026a6 Add Scheduler
  • 5a1d037 Update Option interface
  • 69bd462 Add EnqueueErrorHandler option to SchedulerOpts
  • ed80d66 Minor update to asynq cron command
  • baef822 Update docs for periodic tasks feature

📊 Changes

22 files changed (+1089 additions, -191 deletions)

View changed files

📝 CHANGELOG.md (+10 -0)
📝 README.md (+1 -0)
📝 client.go (+63 -10)
📝 client_test.go (+19 -17)
📝 example_test.go (+20 -0)
forwarder.go (+75 -0)
forwarder_test.go (+137 -0)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 internal/asynqtest/asynqtest.go (+18 -0)
📝 internal/base/base.go (+55 -10)
📝 internal/base/base_test.go (+35 -0)
📝 internal/rdb/inspect.go (+59 -2)
📝 internal/rdb/inspect_test.go (+97 -0)
📝 internal/rdb/rdb.go (+62 -0)
📝 scheduler.go (+208 -42)
📝 scheduler_test.go (+84 -103)
📝 server.go (+5 -5)
📝 server_test.go (+2 -2)
📝 signals_unix.go (+7 -0)

...and 2 more files

📄 Description

Closes #183


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/202 **Author:** [@hibiken](https://github.com/hibiken) **Created:** 10/7/2020 **Status:** ✅ Merged **Merged:** 10/13/2020 **Merged by:** [@hibiken](https://github.com/hibiken) **Base:** `master` ← **Head:** `feature/periodic_scheduler` --- ### 📝 Commits (5) - [`1d026a6`](https://github.com/hibiken/asynq/commit/1d026a614f87617972c999813eb9ec68866c50e7) Add Scheduler - [`5a1d037`](https://github.com/hibiken/asynq/commit/5a1d037b96ed71dc1c698f817b4a406e30dc0ab7) Update Option interface - [`69bd462`](https://github.com/hibiken/asynq/commit/69bd462cc4fb12fc336b4185a41a3b05998aeb89) Add EnqueueErrorHandler option to SchedulerOpts - [`ed80d66`](https://github.com/hibiken/asynq/commit/ed80d6614483d8d8bc219c69bbd0742f3c4bb2fd) Minor update to asynq cron command - [`baef822`](https://github.com/hibiken/asynq/commit/baef822f58f5e4361256f02a6bea40abca2309cd) Update docs for periodic tasks feature ### 📊 Changes **22 files changed** (+1089 additions, -191 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+10 -0) 📝 `README.md` (+1 -0) 📝 `client.go` (+63 -10) 📝 `client_test.go` (+19 -17) 📝 `example_test.go` (+20 -0) ➕ `forwarder.go` (+75 -0) ➕ `forwarder_test.go` (+137 -0) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `internal/asynqtest/asynqtest.go` (+18 -0) 📝 `internal/base/base.go` (+55 -10) 📝 `internal/base/base_test.go` (+35 -0) 📝 `internal/rdb/inspect.go` (+59 -2) 📝 `internal/rdb/inspect_test.go` (+97 -0) 📝 `internal/rdb/rdb.go` (+62 -0) 📝 `scheduler.go` (+208 -42) 📝 `scheduler_test.go` (+84 -103) 📝 `server.go` (+5 -5) 📝 `server_test.go` (+2 -2) 📝 `signals_unix.go` (+7 -0) _...and 2 more files_ </details> ### 📄 Description Closes #183 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 22:11:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1675
No description provided.