Skip to content

Commit

Permalink
docs: enhance comment for CleanupMgrScheduleData to clarify last_clea…
Browse files Browse the repository at this point in the history
…nup_at usage
  • Loading branch information
mastercactapus committed Dec 17, 2024
1 parent dff614d commit bd31e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/cleanupmanager/queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ WHERE id = ANY (
SKIP LOCKED);

-- name: CleanupMgrScheduleData :one
-- CleanupMgrScheduleData will find the next schedule data that needs to be cleaned up.
-- CleanupMgrScheduleData will find the next schedule data that needs to be cleaned up. The last_cleanup_at field is used to ensure we clean up each schedule data at most once per interval.
SELECT
schedule_id,
data
Expand Down
2 changes: 1 addition & 1 deletion gadb/queries.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bd31e64

Please sign in to comment.