Skip to content

Commit 6c79cd1

Browse files
authored
Merge pull request #291 from m-lab/tweaks
Tweak num workers and remove bad log msg.
2 parents 1a79c2f + c4a21d5 commit 6c79cd1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

bq/insert.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ func (in *BQInserter) Flush() error {
257257
// This is heavyweight, and may run forever without a context deadline.
258258
ctx, _ := context.WithTimeout(context.Background(), in.timeout)
259259
err = in.uploader.Put(ctx, in.rows)
260-
log.Println(err)
261260
if err == nil || !strings.Contains(err.Error(), "Quota exceeded:") {
262261
break
263262
}

cmd/etl_worker/app-ndt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ network:
3737
- 9090/tcp
3838

3939
env_variables:
40-
MAX_WORKERS: 20
40+
MAX_WORKERS: 12
4141
BIGQUERY_PROJECT: 'mlab-sandbox'
4242
BIGQUERY_DATASET: 'mlab_sandbox'
4343
ANNOTATE_IP: 'true'

0 commit comments

Comments
 (0)