Skip to content

Commit

Permalink
fix: increase max token size
Browse files Browse the repository at this point in the history
  • Loading branch information
conan-o-chang committed Jul 17, 2020
1 parent 2eb5f27 commit 1eed15c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ func bindLoggingPipe(name string, pipe io.Reader, output io.Writer) {
log.Printf("Started logging %s from function.", name)

scanner := bufio.NewScanner(pipe)
buf := make([]byte, 2048)
scanner.Buffer(buf, 128*1024*1024)

logger := log.New(output, log.Prefix(), log.Flags())

go func() {
Expand Down

0 comments on commit 1eed15c

Please sign in to comment.