Merge pull request #7079 from matthewbauer/allow-untrusted-settings

Allow pass max-silent-time and build-poll-interval to daemon untrusted
This commit is contained in:
Théophane Hufschmitt 2022-09-24 12:47:49 +02:00 committed by GitHub
commit 74276cb354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);