mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-06 03:55:36 -05:00
Update auth.nim (#1164)
Avoid expiring the tokens for now. See: - https://github.com/zedeus/nitter/issues/983#issuecomment-1923046398 - https://github.com/zedeus/nitter/issues/1155#issuecomment-1917167072 Thanks @cmj
This commit is contained in:
@@ -202,7 +202,7 @@ proc initAccountPool*(cfg: Config; path: string) =
|
|||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
let accountsPrePurge = accountPool.len
|
let accountsPrePurge = accountPool.len
|
||||||
accountPool.keepItIf(not it.hasExpired)
|
#accountPool.keepItIf(not it.hasExpired)
|
||||||
|
|
||||||
log "Successfully added ", accountPool.len, " valid accounts."
|
log "Successfully added ", accountPool.len, " valid accounts."
|
||||||
if accountsPrePurge > accountPool.len:
|
if accountsPrePurge > accountPool.len:
|
||||||
|
|||||||
Reference in New Issue
Block a user