-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use promises for setup/writing for logging backend
The balena logging backend now uses async functions to setup the connection and write messages to the request stream. This adds some backpressure on `log` calls by by the log monitor module, to prevent a very agressive container causing the supervisor to waste CPU cycles just dropping messages. Change-type: patch
- Loading branch information
Showing
2 changed files
with
108 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters