diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-03-20 11:38:56 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-20 18:17:15 +0000 |
commit | ede7b386e6711900ac35d48e95379f6d6930c981 (patch) | |
tree | 2bc6e634abc04054aadd0ccb6b3b19dc0b5a469a | |
parent | 025fbc014a89714e903a241551f9e97f877b2f4b (diff) | |
download | vyos-1x-ede7b386e6711900ac35d48e95379f6d6930c981.tar.gz vyos-1x-ede7b386e6711900ac35d48e95379f6d6930c981.zip |
T6143: Increase configuratble timeout range for service config-sync
The maximum timeout for the `service config-sync` is 300 seconds
(Connection API timeout). It could not be enough for the real massive
configurations.
Increase the maximum value to 3600
```
set service config-sync secondary address 192.0.2.1
set service config-sync secondary timeout 3600
```
(cherry picked from commit 4a90e00a886397d9f4202b78cc8995ed93d40014)
-rw-r--r-- | interface-definitions/service_config-sync.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/service_config-sync.xml.in b/interface-definitions/service_config-sync.xml.in index 9e9dcdb69..17f59340d 100644 --- a/interface-definitions/service_config-sync.xml.in +++ b/interface-definitions/service_config-sync.xml.in @@ -38,11 +38,11 @@ <properties> <help>Connection API timeout</help> <valueHelp> - <format>u32:1-300</format> + <format>u32:1-3600</format> <description>Connection API timeout</description> </valueHelp> <constraint> - <validator name="numeric" argument="--range 1-300"/> + <validator name="numeric" argument="--range 1-3600"/> </constraint> </properties> <defaultValue>60</defaultValue> |