Skip to content

Commit

Permalink
Merge pull request #406 from onc-healthit/LANTERN-735-history-pruning…
Browse files Browse the repository at this point in the history
…-queryInt-change

LANTERN-735: Reduce the history pruning query interval period
  • Loading branch information
vishnu-mettles authored Sep 25, 2024
2 parents f03872e + 790a6bd commit fe089c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func prepareHistoryPruningStatements(s *Store) error {
pruningThreshold := viper.GetInt("pruning_threshold")

thresholdString := strconv.Itoa(pruningThreshold)
queryIntString := strconv.Itoa(pruningThreshold * 2)
queryIntString := strconv.Itoa(pruningThreshold + 7200)

distinctURLStatementQueryInterval, err = s.DB.Prepare(`
select DISTINCT(url) FROM fhir_endpoints_info_history
Expand Down

0 comments on commit fe089c3

Please sign in to comment.