Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(job-scheduler): add delayed job and scheduler in same script #2993

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

roggervalf
Copy link
Collaborator

@roggervalf roggervalf commented Jan 3, 2025

Why

Enter your explanation here.
Why is this change necessary? In order to handle addition of a job scheduler and delayed job in same script. Be able to execute in serverless redis as we don't need to use multi

How

Enter the implementation details here.
How did you implement this? Add a new include to handle delayed job additions

Additional Notes (Optional)

Any extra info here.

@roggervalf roggervalf changed the title refactor(delayed): addDelayedJob include perf(job-scheduler): add delayed job and scheduler in same script Jan 5, 2025
tz: repeatOpts.tz,
pattern,
every,
return this.trace<Job<T, R, N>>(
Copy link
Collaborator Author

@roggervalf roggervalf Jan 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copied for now, when update job scheduler get refactored, we will reuse same wrapper

@roggervalf roggervalf marked this pull request as ready for review January 5, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant