Jan Uhlig
Jan Uhlig
In the case that a worker cannot be started (for example, connection limit of a database reached), the entire pool will crash. This is tragical with overflow workers, when requesting...
This PR introduces a new pool argument, `lazy`, which, when set to `true`, causes the workers to be started in a lazy fashion. Default is `false`, which results in current...
As described in #122, if an overflow worker was unable to start (which may always happen owing to circumstances), the `poolboy` `gen_server` would crash, because it invariably expects `{ok, Pid}`...
This PR was inspired by [this](https://erlangforums.com/t/timer-precision-can-we-improve-it/1592?u=juhlig) thread on Erlang Forums. Assuming I understood correctly what @garazdawi pointed out [here](https://erlangforums.com/t/timer-precision-can-we-improve-it/1592/4?u=juhlig), timer precision on Windows is 16ms, which could cause timers with...
I rarely use regular expressions with Erlang. But when I do, I often would need a function to process matches and create replacements. This PR extends `re:replace/3,4` to accept a...
#340 ~This PR also updates `erlang.mk` because the `race_conditions` diylazer option has been removed in OTP 25.~
Closes #333
If a multi-statement is sent in a `query` call, and at least one of them fails, `mysql-otp` returns (only) an error tuple, even though some of the other statements may...
Chapter "Starting", "Building and Running": `rebar3 run` will fail with the following error message: `cp: cannot stat '/home/jan/tanodb/_build/default/rel/tanodb/../tanodb_config/tanodb.conf': No such file or directory` As a quick fix, I created the...
**Describe the bug** `erpc:call` usually runs the given function in a spawned process. However, if the given `Node` is the local node and if the given `Timeout` is `infinity` (implicit...