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

Bug Fix: Supported Disabled option #1448

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

AlgoStephenAkiki
Copy link
Contributor

@AlgoStephenAkiki AlgoStephenAkiki commented Jan 30, 2023

Resolves #1333

Supports the disabled value for the PruneConfigurations "Interval" config

Resolves #1333

Supports the disabled value for the PruneConfigurations "Interval"
config
@AlgoStephenAkiki AlgoStephenAkiki linked an issue Jan 30, 2023 that may be closed by this pull request
@AlgoStephenAkiki AlgoStephenAkiki self-assigned this Jan 30, 2023
@AlgoStephenAkiki AlgoStephenAkiki changed the title Supported Disabled option Bug Fix: Supported Disabled option Jan 30, 2023
@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

Merging #1448 (0cea379) into develop (255db8f) will decrease coverage by 0.01%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##           develop    #1448      +/-   ##
===========================================
- Coverage    65.15%   65.15%   -0.01%     
===========================================
  Files           80       80              
  Lines        11377    11384       +7     
===========================================
+ Hits          7413     7417       +4     
- Misses        3393     3395       +2     
- Partials       571      572       +1     
Impacted Files Coverage Δ
conduit/plugins/exporters/postgresql/util/prune.go 78.43% <88.88%> (+3.43%) ⬆️
idb/postgres/postgres.go 65.21% <0.00%> (-0.14%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment on lines +64 to +68
// A helpful warning to say that despite a number of rounds being above 0
// data pruning isn't going to occur
if p.config.Rounds > 0 {
p.logger.Warnf("DeleteLoop(): Round value was above 0 (%d) but interval was disabled. No data pruning will occur.", p.config.Rounds)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice touch

@AlgoStephenAkiki AlgoStephenAkiki merged commit 07e454c into develop Jan 31, 2023
@AlgoStephenAkiki AlgoStephenAkiki deleted the 1333-conduit-data-pruning-error branch January 31, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conduit: data pruning error
3 participants