hjr3 / soldr

Other
23 stars 2 forks source link

Purging requests should avoid doing too much #59

Open hjr3 opened 8 months ago

hjr3 commented 8 months ago

When purging old requests, we should make sure we are not trying to delete too many records at once. For example, if there are 100 million requests to be purged, we should do that in smaller batches. This will avoid locking up the table for a long time.