diff options
Diffstat (limited to 'worker.go')
-rwxr-xr-x | worker.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -18,6 +18,14 @@ import ( "go.uber.org/multierr" ) +// #include <stdio.h> +// #include <errno.h> +import "C" + +func init() { + C.setvbuf(C.stderr, nil, C._IONBF, 0) +} + const ( // WaitDuration - for how long error buffer should attempt to aggregate error messages // before merging output together since lastError update (required to keep error update together). |