Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
chore: change ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
sashamelentyev authored Jul 18, 2023
1 parent cb84501 commit 9a9ad6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gh-archive-yt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (c *Service) Migrate(ctx context.Context) error {
},
}

rt := migrate.DeleteDataAfterTTL(24 * time.Hour)
rt := migrate.DeleteDataAfterTTL(24 * time.Hour * 14) // 2 weeks
rt.FillAttrs(tables[c.table].Attributes)

if err := migrate.EnsureTables(ctx, c.yc, tables, migrate.OnConflictDrop(ctx, c.yc)); err != nil {
Expand Down

0 comments on commit 9a9ad6e

Please sign in to comment.