rslock
rslock copied to clipboard
Don't sleep after the last try and rename `retry_count` to `try_count`
Hey @dfaust , thanks for taking the time to open this PR.
I'm not a big fan of renaming retry_count as this would be a breaking API change. If the name is confusing I would prefer just to add extra documentation explaining that retry_count also includes the first try.
I definitely like the improvement of not sleeping after the last try.