Skip to content

Commit 0455dd9

Browse files
committed
document updateContainers internal timeout
1 parent 04431a5 commit 0455dd9

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
case done := <-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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy