Closed threemonks closed 2 years ago
So if the first time it prints wait for 60 seconds, then it should not print anything, but rather wait until 60 seconds is up, and there's now enough new token to complete the action, then proceed.
Correct, that's how it was intended to work: https://github.com/akaszynski/keepa/blob/ffc35edc2f7a4601408b0f0a22a8856be88dcb3e/keepa/interface.py#L412-L416
I'm not sure why it's then printing 59, ... does this occur only when using async
?
Sorry, missed this reply. I was using wait=True, so that is sync mode.
Closing stale issue. Reopen is this is still an issue.
I have version 1.3.0, it seems to be printing wait for 60 seconds, then 59 seconds, then 58 seconds, etc. Is this expected? I'd expect it to wait until the timetorefill, which is calculated by
So if the first time it prints wait for 60 seconds, then it should not print anything, but rather wait until 60 seconds is up, and there's now enough new token to complete the action, then proceed.
Am I misunderstanding this?