summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do not untrap exits if they were already trapped before callingfix/do-not-untrap-trapped-processesrinpatch2020-09-051-7/+10
|
* Merge branch 'fix/trap-exits' into 'master'href2020-09-051-4/+29
|\ | | | | | | | | Fix counters not decrementing when the process is exited See merge request pleroma/elixir-libraries/concurrent_limiter!1
| * Fix counters not decrementing when the process is exitedrinpatch2020-09-051-4/+29
|/ | | | | | | | | | | | | This fixes the issue by trapping exits for the duration of the fun, then turning exit trapping off and killing the process if there is an exit message in the mailbox. The real-world case where this fixes things is Pleroma MediaProxy. Without exit trapping, the process would get killed if the connection was closed client-side and a counter would be left incremented. I am not sure if trapping exits is the optimal solution, but I don't see any other option.
* Fix decrement after max_retries been reached + telemetry eventsJordan Bracco2020-07-074-0/+18
|
* 0.1.0 (for realz)Jordan Bracco2020-05-161-0/+1
|
* 0.1.0.0.1.0Jordan Bracco2020-05-161-2/+2
|
* Fix tests & add ConcurrentLimiter.delete/1Jordan Bracco2020-05-162-11/+22
|
* Format and prepare for releaseJordan Bracco2020-05-1611-103/+527
|
* Remove ETS backend, add max_retries, add options to limit/3.Jordan Bracco2020-05-141-70/+34
|
* Rename to ConcurrentLimiterJordan Bracco2020-05-148-111/+132
|
* minor fixesJordan Bracco2020-05-081-27/+19
|
* Switch to atomics, add shared ets, ..Jordan Bracco2020-05-089-61/+337
|
* Initial commitJordan Bracco2020-05-088-0/+180