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

fix add_limit behavior in edge cases #1052

Merged
merged 3 commits into from Mar 5, 2024
Merged

Conversation

sh-rp
Copy link
Collaborator

@sh-rp sh-rp commented Mar 5, 2024

Description

Limiting resources with add_limit was not working correctly or predictably for some values, with this update we:

  • Emit 0 values if the limit is 0
  • Disable the limiting for values None or below zero.

Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit ab3d46a
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/65e71f4d2fac440008230c69

@sh-rp sh-rp requested review from steinitzu and rudolfix March 5, 2024 11:32
@sh-rp sh-rp force-pushed the d#/update_add_limit_behavior branch from 2b4f9c0 to f3b7afa Compare March 5, 2024 11:46
rudolfix
rudolfix previously approved these changes Mar 5, 2024
Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

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

this is lovely! pls merge when test pass

@sh-rp sh-rp marked this pull request as ready for review March 5, 2024 13:19
@rudolfix rudolfix merged commit 4b9446c into devel Mar 5, 2024
42 of 66 checks passed
@rudolfix rudolfix deleted the d#/update_add_limit_behavior branch March 5, 2024 16:02
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.

None yet

2 participants