diff options
author | Wolfy-J <[email protected]> | 2020-12-14 18:23:03 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2020-12-14 18:23:03 +0300 |
commit | 6ae6f8968188d5851e1929fff81e15cb730619b4 (patch) | |
tree | ed947361c0f108111f5bdb30c40dae242faf4207 /worker.go | |
parent | 2ba2b5e0c6f42d480600aa666ad0840ccee12a18 (diff) |
- fixing tests
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). |