Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0455dd9

Browse files
committed
document updateContainers internal timeout
1 parent04431a5 commit0455dd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎agent/agentcontainers/api.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ func (api *API) updaterLoop() {
293293
case<-api.ctx.Done():
294294
return
295295
casedone:=<-api.updateTrigger:
296+
// Note that although we pass api.ctx here, updateContainers
297+
// has an internal timeout to prevent long blocking calls.
296298
done<-api.updateContainers(api.ctx)
297299
}
298300
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp