-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: return :ok for already started throttle processes (#20)
I tried to return a pid in this case to avoid a breaking change, but we're now hitting issues where the process closes between the two function calls resulting in a no match error. BREAKING CHANGE: `Buffy.Throttle.throttle/1` will now return `:ok` instead of `{:ok, pid}`
- Loading branch information
Showing
2 changed files
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters