Skip to content

Commit f436f88

Browse files
committed
merge v3
1 parent bd04da7 commit f436f88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/command/command_service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ func (cs *CommandService) sendResponseForQueuedConfigApplyRequests(
328328
"response", newResponse,
329329
)
330330

331-
backOffCtx, backoffCancel := context.WithTimeout(ctx, cs.agentConfig.Common.MaxElapsedTime)
331+
backOffCtx, backoffCancel := context.WithTimeout(ctx, cs.agentConfig.Client.Backoff.MaxElapsedTime)
332332

333333
err := backoff.Retry(
334334
cs.sendDataPlaneResponseCallback(ctx, newResponse),
335-
backoffHelpers.Context(backOffCtx, cs.agentConfig.Common),
335+
backoffHelpers.Context(backOffCtx, cs.agentConfig.Client.Backoff),
336336
)
337337
if err != nil {
338338
slog.ErrorContext(ctx, "Failed to send data plane response", "error", err)

0 commit comments

Comments
 (0)