fix import from internal

pull/306/head
Tony 5 years ago
parent a48d4c46fe
commit d90050f81f
  1. 6
      pkg/sync/pipeline/pipeline.go
  2. 1
      pkg/sync/pipeline/pipeline_test.go

@ -7,9 +7,9 @@ import (
"sync" "sync"
"time" "time"
"go-common/library/net/metadata" "github.com/bilibili/kratos/pkg/net/metadata"
"go-common/library/stat/metric" "github.com/bilibili/kratos/pkg/stat/metric"
xtime "go-common/library/time" xtime "github.com/bilibili/kratos/pkg/time"
) )
// ErrFull channel full error // ErrFull channel full error

@ -92,7 +92,6 @@ func TestPipelineSmooth(t *testing.T) {
Interval: xtime.Duration(time.Second), Interval: xtime.Duration(time.Second),
Buffer: 100, Buffer: 100,
Worker: 10, Worker: 10,
Smooth: true,
} }
type result struct { type result struct {
index int index int

Loading…
Cancel
Save