do not prune accounts

This commit is contained in:
Andre Medeiros 2022-06-25 14:45:05 -04:00
parent 7234628428
commit 8ae426a4de

View file

@ -137,6 +137,7 @@ 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)