logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 107f00d93f605239da0896bee0510b652646b57b
parent 9896b64f54d4568a7b42ddd11e647021a20c1378
Author: Mark Felder <feld@feld.me>
Date:   Tue, 28 Nov 2023 17:22:24 +0000

OTP26: Chase the :slave.start/3 deprecation

Diffstat:

Mtest/support/cluster.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/support/cluster.ex b/test/support/cluster.ex @@ -127,7 +127,7 @@ defmodule Pleroma.Cluster do defp start_slave({node_host, override_configs}) do log(node_host, "booting federated VM") - {:ok, node} = :slave.start(~c"127.0.0.1", node_name(node_host), vm_args()) + {:ok, node} = :peer.start(%{host: "127.0.0.1", name: node_name(node_host), args: vm_args()}) add_code_paths(node) load_apps_and_transfer_configuration(node, override_configs) ensure_apps_started(node)