Skip to content

Commit

Permalink
Allow dump-registered-relays-topology period config via globals
Browse files Browse the repository at this point in the history
  • Loading branch information
jbgi committed Jun 3, 2021
1 parent 622b4c5 commit 4dacd47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions globals-defaults.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ in {
deploymentName = "${builtins.baseNameOf ./.}";
deploymentPath = "$HOME/${globals.deploymentName}";

registeredRelaysDumpPeriod = "hourly";
relayUpdateArgs = "-m 1";
relayUpdatePeriod = "weekly";

Expand Down
2 changes: 1 addition & 1 deletion roles/explorer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ in {
};
};
systemd.timers.dump-registered-relays-topology = {
timerConfig.OnCalendar = "daily";
timerConfig.OnCalendar = globals.registeredRelaysDumpPeriod;
wantedBy = [ "timers.target" ];
};

Expand Down

0 comments on commit 4dacd47

Please sign in to comment.