Skip to content

Commit

Permalink
Inline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent edbef89 commit 64db7a6
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions nix/workbench/supervisor.nix
Expand Up @@ -77,13 +77,17 @@ let
AlonzoGenesisFile = "../genesis.alonzo.json";
ShelleyGenesisFile = "../genesis-shelley.json";
ByronGenesisFile = "../genesis/byron/genesis.json";
} // optionalAttrs enableEKG {
hasEKG = port + supervisord.portShiftEkg;
hasPrometheus = [ "127.0.0.1" (port + supervisord.portShiftPrometheus) ];
setupBackends = [
"EKGViewBK"
];
});
} // optionalAttrs enableEKG
(let portShiftEkg = 100;
portShiftPrometheus = 200;
in {
hasEKG = port + portShiftEkg;
hasPrometheus = ["127.0.0.1" (port + portShiftPrometheus)];
setupBackends = [
"EKGViewBK"
];
})
);

finaliseNodeArgs =
profile: nodeSpec: args: args;
Expand Down Expand Up @@ -139,9 +143,6 @@ let
inherit
extraSupervisorConfig;

portShiftEkg = 100;
portShiftPrometheus = 200;

## mkSupervisorConf :: Profile -> SupervisorConf
mkSupervisorConf =
profile:
Expand Down

0 comments on commit 64db7a6

Please sign in to comment.