Skip to content

Make schema refresh timeout configurable via env var #7114

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

Conversation

zachliu
Copy link
Contributor

@zachliu zachliu commented Aug 7, 2024

What type of PR is this?

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

Description

In certain situations, especially when using managed (or "serverless") data services such as AWS Athena, it may take more than 300 seconds to refresh a single data source (pinging the API for all schemas from the cloud platform). We need longer timeout in these situations.

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually
  • N/A

Related Tickets & Documents

It solves #5402

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@justinclift justinclift enabled auto-merge (squash) September 9, 2024 01:05
@justinclift
Copy link
Member

Thanks for getting this done @zachliu, and thanks for reviewing it @arikfr. 😄

I've just marked this for auto-merge and hit the "update branch" button so (in theory) this should be merged in an hour or so unless some unexpected conflict happens.

@zachliu Any interest in updating the environment variables documentation to cover this too? 😄

https://redash.io/help/open-source/admin-guide/env-vars-settings/ (source)

@justinclift justinclift merged commit 76eeea1 into getredash:master Sep 9, 2024
11 checks passed
@zachliu zachliu deleted the make-schema-refresh-timeout-configurable-via-env-var branch September 9, 2024 14:36
@zachliu
Copy link
Contributor Author

zachliu commented Sep 9, 2024

@justinclift with pleasure! PR coming right up 🚀

harveyrendell pushed a commit to pushpay/redash that referenced this pull request Jan 8, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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