mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #623] SchedulerEntryID option for registered scheduled job #2819
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#2819
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/623
Author: @ilkerkorkut
Created: 2/28/2023
Status: 🔄 Open
Base:
master← Head:feature/scheduler-entry-id📝 Commits (2)
7c65581SchedulerEntryID option for registered scheduled jobf75581dscheduler_test📊 Changes
3 files changed (+101 additions, -21 deletions)
View changed files
📝
client.go(+27 -13)📝
scheduler.go(+27 -8)📝
scheduler_test.go(+47 -0)📄 Description
Managing autogenerated scheduler job entry ids are very difficult in some cases and it may need costly processes.
Example Scenario: When we try to generate a scheduler job per user basis and wa may want to follow that scheduler job process and unregister on a certain case. So we need to save scheduler job id to on db(need persistency) or cache after that we should check the which user has which scheduler job entry id. So It goes a costly approach. I tried to add SchedulerEntryID Option for Register method.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.