Skip to content

Commit

Permalink
Update auth.nim (#1164)
Browse files Browse the repository at this point in the history
Avoid expiring the tokens for now.

See:
- #983 (comment)
- #1155 (comment)

Thanks @cmj
  • Loading branch information
somini committed Feb 26, 2024
1 parent cdff5e9 commit c6edec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.nim
Expand Up @@ -202,7 +202,7 @@ proc initAccountPool*(cfg: Config; path: string) =
quit 1

let accountsPrePurge = accountPool.len
accountPool.keepItIf(not it.hasExpired)
#accountPool.keepItIf(not it.hasExpired)

log "Successfully added ", accountPool.len, " valid accounts."
if accountsPrePurge > accountPool.len:
Expand Down

0 comments on commit c6edec0

Please sign in to comment.