boulder/cmd/expired-authz-purger
Jacob Hoffman-Andrews 90f7998b15 Speed up expired authz purger (#3267)
Now, rather than LIMIT / OFFSET, this uses the highest id from the last batch in each new batch's query. This makes efficient use of the index, and means the database does not have to scan over a large number of non-expired rows before starting to find any expired rows.

This also changes the structure of the purge function to continually push ids for deletion onto a channel, to be processed by goroutines consuming that channel.

Also, remove the --yes flag and prompting.
2017-12-11 12:05:43 -05:00
..
config.json Limit number of authzs purged at once. (#3177) 2017-10-23 11:20:07 -07:00
main.go Speed up expired authz purger (#3267) 2017-12-11 12:05:43 -05:00
main_test.go Speed up expired authz purger (#3267) 2017-12-11 12:05:43 -05:00