mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
do not prune accounts
This commit is contained in:
parent
7234628428
commit
8ae426a4de
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
func pruneAccounts(ctx context.Context, logger *zap.Logger, pool *pgxpool.Pool) {
|
||||||
|
return
|
||||||
expiry := time.Now().Add(-domain.StaleTokenThreshold)
|
expiry := time.Now().Add(-domain.StaleTokenThreshold)
|
||||||
ar := repository.NewPostgresAccount(pool)
|
ar := repository.NewPostgresAccount(pool)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue