Skip to content

Commit 2f711e4

Browse files
committed
fix: loop sending logs causing overflow
Fixes #8.
1 parent a41c03a commit 2f711e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (p *podEventLogger) sendLog(resourceName, token string, log agentsdk.Startu
328328
// If the logger was already closed, we await the close before
329329
// creating a new logger. This is to ensure all loggers get sent in order!
330330
_ = logger.closer.Close()
331-
p.sendLog(resourceName, token, log)
331+
go p.sendLog(resourceName, token, log)
332332
return
333333
}
334334
// We make this 5x the debounce because it's low-cost to persist a few

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