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

Avoid empty HTTP requests to load Enumerations #4369

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

davisp
Copy link
Contributor

@davisp davisp commented Sep 19, 2023

Previously, we weren't checking if we actually had any enumerations to load which resulted in REST requests for an empty list of enumerations. That just wastes time and resources for no reason so this change avoids the request whn there's no work to do.


TYPE: IMPROVEMENT
DESC: Avoid empty Enumeration REST requests.

Previously, we weren't checking if we actually had any enumerations to
load which resulted in REST requests for an empty list of enumerations.
That just wastes time and resources for no reason so this change avoids
the request whn there's no work to do.
@davisp davisp force-pushed the pd/bug/avoid-empty-enumerations-requests branch from adc29e8 to 200bd68 Compare September 19, 2023 14:18
@ihnorton ihnorton merged commit 7d17d10 into dev Sep 22, 2023
53 checks passed
@ihnorton ihnorton deleted the pd/bug/avoid-empty-enumerations-requests branch September 22, 2023 15:12
github-actions bot pushed a commit that referenced this pull request Sep 22, 2023
Previously, we weren't checking if we actually had any enumerations to load which resulted in REST requests for an empty list of enumerations. That just wastes time and resources for no reason so this change avoids the request whn there's no work to do.

---
TYPE: IMPROVEMENT
DESC: Avoid empty Enumeration REST requests.

(cherry picked from commit 7d17d10)
ihnorton pushed a commit that referenced this pull request Sep 22, 2023
Previously, we weren't checking if we actually had any enumerations to load which resulted in REST requests for an empty list of enumerations. That just wastes time and resources for no reason so this change avoids the request whn there's no work to do.

---
TYPE: IMPROVEMENT
DESC: Avoid empty Enumeration REST requests.

(cherry picked from commit 7d17d10)

Co-authored-by: Paul J. Davis <paul.davis@tiledb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants