Skip to content

Commit

Permalink
Up version 1.4.3
Browse files Browse the repository at this point in the history
* default appup

* restart servicecachesupervisor

* start dashboard new processes

* delete poller from supervisor

* add summary cache code_change to register to new event

* restart the statscollector

* add migration to start the jobcacheregistry

* bump version 1.4.3
  • Loading branch information
bchamagne committed Dec 27, 2023
1 parent e949b66 commit 3503bee
Show file tree
Hide file tree
Showing 4 changed files with 927 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/archethic/beacon_chain/subset/summary_cache.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ defmodule Archethic.BeaconChain.Subset.SummaryCache do
{:ok, %{}}
end

def code_change("1.4.2", state, _extra) do
PubSub.register_to_self_repair()
{:ok, state}
end

def code_change(_version, state, _extra), do: {:ok, state}

def handle_info(:self_repair_sync, state) do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Archethic.MixProject do
def project do
[
app: :archethic,
version: "1.4.2",
version: "1.4.3",
build_path: "_build",
config_path: "config/config.exs",
deps_path: "deps",
Expand Down
15 changes: 15 additions & 0 deletions priv/migration_tasks/prod/1.4.3@jobcacheregistry_start.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
defmodule Migration_1_4_3 do
@moduledoc """
Start the JobCacheRegistry which is a child of Application
"""

def run() do
{:ok, _} =
Supervisor.start_child(
Archethic.Supervisor,
{Registry, keys: :unique, name: Archethic.Utils.JobCacheRegistry}
)

:ok
end
end
Loading

0 comments on commit 3503bee

Please sign in to comment.