Skip to content

Conversation

@black-puppydog
Copy link
Contributor

Hello. In good old ssb fashion I'm necro-PR'ing this. :)

This is a fix for a lock-up for the user if the offset log goes beyond 2^31 bytes in length. Since the ~~ uses a (signed) int32 representation, it produces a negative number in these cases. Result: the progress.indexes.current value is negative, thus smaller than the progress.indexes.target value, and Patchwork refuses to produce any further messages.

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.

1 participant