lets prune accounts again

This commit is contained in:
Andre Medeiros 2022-06-30 09:56:38 -04:00
parent ee29fccaf9
commit ce944f92f7

View file

@ -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)