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

Plug custom Celery tasks via dynamic settings #3819

Merged
merged 2 commits into from
May 22, 2019
Merged

Conversation

rauchy
Copy link
Contributor

@rauchy rauchy commented May 22, 2019

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • New Query Runner (Data Source)
  • New Alert Destination
  • Other

Description

This would allow users to provide their own custom tasks to run periodically.

@rauchy rauchy requested a review from arikfr May 22, 2019 08:16
@rauchy rauchy merged commit 29875e6 into master May 22, 2019
@rauchy rauchy deleted the plug-custom-celery-tasks branch May 22, 2019 08:37
@jezdez
Copy link
Member

jezdez commented May 22, 2019

Huh, that's a new twist on the extension problem, we have had extensible periodic tasks for a while until they were removed in #3465. Would you say the overlap is okay keeping given dynamic settings are more deployment specific and not particularly tied to extensions?

That reminds me @arikfr I just saw your last comment in #3569 about the requirements file added there. Merging this would go a long way to a better separation of App and Worker code.

@jezdez
Copy link
Member

jezdez commented May 22, 2019

IOW, I'm very much interested in solving #3466 still.

@arikfr
Copy link
Member

arikfr commented May 22, 2019

@jezdez just to clarify: this is not instead of the extension point for periodic tasks as implemented in #3569. This is just another option which is easier to use in some scenarios.

As for the requirements file, I will follow up in #3569.

@jezdez
Copy link
Member

jezdez commented May 22, 2019

Okay, understood, thanks for clarification!

harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
* plug custom celery tasks via dynamic settings

* an extra blank line
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.

3 participants