Skip to content

Commit

Permalink
Update dbus timeout to 10 minutes (#326)
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

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 e784b6f commit 883d617
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 @@ -125,7 +125,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 @@ -135,7 +135,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 883d617

Please sign in to comment.