Skip to content

Commit

Permalink
Fix chain writer pool partition number
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Aug 30, 2022
1 parent df60f2c commit 054a473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/archethic/db/embedded_impl/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule Archethic.DB.EmbeddedImpl.Supervisor do
end

defp initialize_chain_writers(path) do
Enum.each(1..20, fn i ->
Enum.each(0..19, fn i ->
DynamicSupervisor.start_child(
Archethic.DB.EmbeddedImpl.ChainWriterSupervisor,
{ChainWriter, path: path, partition: i}
Expand Down

0 comments on commit 054a473

Please sign in to comment.