Remove stale auctions after a year #63

Merged
nabarun merged 2 commits from pm-stale-auctions into main 2024-10-29 04:04:49 +00:00
Showing only changes of commit b237bcd8eb - Show all commits

View File

@ -26,7 +26,7 @@ import (
)
// CompletedAuctionDeleteTimeout => Completed auctions are deleted after this timeout (after reveals end time).
const CompletedAuctionDeleteTimeout = time.Hour * 24
const CompletedAuctionDeleteTimeout = 365 * 24 * time.Hour
type AuctionsIndexes struct {
Owner *indexes.Multi[string, string, auctiontypes.Auction]