Skip to content

Commit

Permalink
[cmd] Add warning log about performance impact in 'db-manager evict' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmis authored Oct 22, 2024
1 parent 763ffa1 commit bb90dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmds/db-manager/cleanup/evict.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func evict(cmd *cobra.Command, _ []string) error {
ctx = cmd.Context()
threshold = time.Now().Add(-*ttl)
)
log.Printf("WARNING: The usage of this tool may have an impact on performance when deleting entities. Read more in the README.")

scdStore, err := getSCDStore(ctx)
if err != nil {
Expand Down

0 comments on commit bb90dbe

Please sign in to comment.