Skip to content

fix: increase robustness for future error handling changes - #963

Merged
KnorpelSenf merged 2 commits into
mainfrom
backoff-unit
Aug 24, 2026
Merged

KnorpelSenf merged 2 commits into
mainfrom
backoff-unit

Conversation

@KnorpelSenf

Copy link
Copy Markdown
Member

As far as we know, this does not fix an actual bug. However, it's still nice to use correct time units even on dead code paths.

Fixes #961.

Closes #960.

There was a dead code path that used wrong time units. This did not affect any bots in practice, but for good measure, we fix this anyway.

@KnightNiwrem KnightNiwrem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not dead code paths. Video sent to DM instead of here - don't want to accidentally leak anything from my screen. Approved.

@KnorpelSenf
KnorpelSenf merged commit 10599f0 into main Aug 24, 2026
6 checks passed
@KnorpelSenf
KnorpelSenf deleted the backoff-unit branch August 24, 2026 14:44
@KnorpelSenf

Copy link
Copy Markdown
Member Author

In fact, this did fix an actual bug for bots that are unable to reach TG in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

withRetries passes a millisecond backoff to sleep(), which expects seconds (1000x too long)

2 participants