From ce944f92f7054a3e195bd4ddf7d3ab267aaf1ac4 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 30 Jun 2022 09:56:38 -0400 Subject: [PATCH] lets prune accounts again --- internal/cmd/scheduler.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/cmd/scheduler.go b/internal/cmd/scheduler.go index 63583ee..a921e23 100644 --- a/internal/cmd/scheduler.go +++ b/internal/cmd/scheduler.go @@ -137,7 +137,6 @@ func evalScript(ctx context.Context, redis *redis.Client) (string, error) { } func pruneAccounts(ctx context.Context, logger *zap.Logger, pool *pgxpool.Pool) { - return expiry := time.Now().Add(-domain.StaleTokenThreshold) ar := repository.NewPostgresAccount(pool)