Skip to content

Commit

Permalink
[202311] Update dbus timeout to 10 minutes (#328)
Browse files Browse the repository at this point in the history
Why I did it
We found that GCU takes about 10 minutes to update ACL rules
Backport #326

How I did it
Update dbus timeout to 10 minutes so that we can use GNMI to update ACL rules.

How to verify it
Run GNMI unit test and end to end test
  • Loading branch information
ganglyu authored Nov 12, 2024
1 parent 9c63257 commit 6c11235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonic_service_client/dbus_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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
}

Expand All @@ -124,7 +124,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
}

Expand Down

0 comments on commit 6c11235

Please sign in to comment.