8000 Release [1.3.0] Handle errors on a worker's start · general-CbIC/poolex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[1.3.0] Handle errors on a worker's start

Latest
Compare
Choose a tag to compare
4CC9
@general-CbIC general-CbIC released this 26 Apr 06:30
· 15 commits to develop since this release

What's Changed

Added

  • Added caching of the dependencies on CI (compilation speed up).

  • Added a new option failed_workers_retry_interval to the pool configuration. This option configures the millisecond interval between retry attempts for workers that failed to start. The value is 1 second by default. Example:

    Poolex.start_link(
      worker_module: SomeUnstableWorker,
      workers_count: 5,
      failed_workers_retry_interval: 3_000
    )

Changed

  • Due to the deprecation of support for Ubuntu 20.04 on GitHub Actions (read more here), bumped minimum required versions of Elixir to ~> 1.11 and Erlang/OTP to ~> 24.

Fixed

  • Fixed the MatchError on pool starting error that occurs with errors on the launch of workers (read more in issue).

Full Changelog: v1.2.1...v1.3.0

0