It seems that connection errors causes some issues
** (FunctionClauseError) no function clause matching in EventStore.Storage.Appender.handle_response/1
(eventstore 1.4.1) lib/event_store/storage/appender.ex:155: EventStore.Storage.Appender.handle_response({:error, %DBConnection.ConnectionError{
message: "
connection not available and request was dropped from queue after 110ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:
1. Ensuring your database is available and that you can connect to it
2. Tracking down slow queries and making sure they are running fast enough
3. Increasing the pool_size (although this increases resource consumption)
4. Allowing requests to wait longer by increasing :queue_target and :queue_interval
See DBConnection.start_link/2 for more information
",
severity: :error,
reason: :queue_timeout
}})
(eventstore 1.4.1) lib/event_store/storage/appender.ex:27: anonymous fn/5 in EventStore.Storage.Appender.append/4
(elixir 1.14.0) lib/enum.ex:980: anonymous fn/3 in Enum.each/2
(elixir 1.14.0) lib/enum.ex:4307: anonymous fn/3 in Enum.each/2
(elixir 1.14.0) lib/stream.ex:1799: anonymous fn/3 in Enumerable.Stream.reduce/3
(elixir 1.14.0) lib/stream.ex:288: Stream.after_chunk_while/2
(elixir 1.14.0) lib/stream.ex:1828: Enumerable.Stream.do_done/2
(elixir 1.14.0) lib/enum.ex:4307: Enum.each/2
"mfa=Commanded.Aggregates.Aggregate.execute_command/2
It seems that connection errors causes some issues