From ff1ca30667fe6ee0079301223dbe0b9495b5a1c3 Mon Sep 17 00:00:00 2001 From: ganglyu Date: Tue, 12 Nov 2024 16:04:20 +0800 Subject: [PATCH] [202405] Update dbus timeout to 10 minutes --- sonic_service_client/dbus_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic_service_client/dbus_client.go b/sonic_service_client/dbus_client.go index e376e17f..7d5d3a9f 100644 --- a/sonic_service_client/dbus_client.go +++ b/sonic_service_client/dbus_client.go @@ -116,7 +116,7 @@ func (c *DbusClient) ApplyPatchYang(patch string) error { busName := c.busNamePrefix + modName busPath := c.busPathPrefix + modName intName := c.intNamePrefix + modName + ".apply_patch_yang" - err := DbusApi(busName, busPath, intName, 240, patch) + err := DbusApi(busName, busPath, intName, 600, patch) return err } @@ -126,7 +126,7 @@ func (c *DbusClient) ApplyPatchDb(patch string) error { busName := c.busNamePrefix + modName busPath := c.busPathPrefix + modName intName := c.intNamePrefix + modName + ".apply_patch_db" - err := DbusApi(busName, busPath, intName, 240, patch) + err := DbusApi(busName, busPath, intName, 600, patch) return err }