Skip to content

Commit

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

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

Thanks @cmj
  • Loading branch information
somini committed Feb 26, 2024
1 parent cdff5e9 commit 3feaeb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth.nim
Original file line number Diff line number Diff line change
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 3feaeb7

Please sign in to comment.