Skip to content

Commit

Permalink
Merge pull request NixOS#7079 from matthewbauer/allow-untrusted-settings
Browse files Browse the repository at this point in the history
Allow pass max-silent-time and build-poll-interval to daemon untrusted
  • Loading branch information
thufschmitt authored Sep 24, 2022
2 parents 6a64820 + 6e049ae commit 74276cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstore/daemon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ struct ClientSettings
else if (trusted
|| name == settings.buildTimeout.name
|| name == settings.buildRepeat.name
|| name == settings.maxSilentTime.name
|| name == settings.pollInterval.name
|| name == "connect-timeout"
|| (name == "builders" && value == ""))
settings.set(name, value);
Expand Down

0 comments on commit 74276cb

Please sign in to comment.