mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #984] PeriodicTask 注册任务的时候主动带上id #1975
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/984
Author: @fucktx
Created: 12/10/2024
Status: 🔄 Open
Base:
master← Head:master📝 Commits (3)
1e87f20PeriodicTask 注册任务的时候主动带上id,方便排查和更新数据从db中51b4451暴漏出来M,可以知道哪些数据是注册成功,方便维护更新c5a964bMerge branch 'hibiken:master' into master📊 Changes
4 files changed (+31 additions, -30 deletions)
View changed files
📝
example_test.go(+2 -2)📝
periodic_task_manager.go(+15 -14)📝
scheduler.go(+9 -9)📝
scheduler_test.go(+5 -5)📄 Description
In this way, whether the configuration is read from the db or the configuration file, after the task is registered, you can easily compare the registered tasks. If the tasks are not registered, you can perform subsequent logical processing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.