Skip to content

Commit

Permalink
System.pid/0 is only available from 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Oct 10, 2021
1 parent eee55ce commit b2c50e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exq/node/server.ex
Expand Up @@ -83,7 +83,7 @@ defmodule Exq.Node.Server do
%Node{
hostname: to_string(hostname),
started_at: Time.unix_seconds(),
pid: System.pid(),
pid: List.to_string(:os.getpid()),
identity: node_id
}
end
Expand Down

0 comments on commit b2c50e2

Please sign in to comment.