Skip to content

Commit

Permalink
chore(deps): updating the workerpool version (#69)
Browse files Browse the repository at this point in the history
updating the workerpool version
  • Loading branch information
Jacobbrewer1 authored Nov 23, 2024
1 parent 250c4e7 commit fb1213c
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 100 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/jacobbrewer1/patcher v0.1.10
github.com/jacobbrewer1/uhttp v0.0.4
github.com/jacobbrewer1/vaulty v0.1.4
github.com/jacobbrewer1/workerpool v0.0.2
github.com/jacobbrewer1/workerpool v0.0.3
github.com/jmoiron/sqlx v1.4.0
github.com/oapi-codegen/runtime v1.1.1
github.com/prometheus/client_golang v1.20.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ github.com/jacobbrewer1/uhttp v0.0.4 h1:3RrRmz0fjsnLKuAs5fkflOcsjuBFoL0XvC6Xct/T
github.com/jacobbrewer1/uhttp v0.0.4/go.mod h1:qwLAdGw4SLYJY2MS0sE1m/w1ILTr61bjwRtlbGwqo5c=
github.com/jacobbrewer1/vaulty v0.1.4 h1:JLcSDX5f1UMBxNNzCxQ0neqV4Mvw6030OgxE44B/pqI=
github.com/jacobbrewer1/vaulty v0.1.4/go.mod h1:BDrZxaM1mMWSqJ3UXHGOQyy6+2l5NxjAjva2V7ijwNI=
github.com/jacobbrewer1/workerpool v0.0.2 h1:H5+PRi1JLtOvPXHiER6+MCEfqIMn8d0MyZ0Mi4emYqM=
github.com/jacobbrewer1/workerpool v0.0.2/go.mod h1:PKV+PF+dbELi8p+abwzVDRy2FtgpdLJCFKlsz5thaYY=
github.com/jacobbrewer1/workerpool v0.0.3 h1:MnRiYACaCO9+M2ogM6gxQcySdbER/T6mehTvBQLRg6I=
github.com/jacobbrewer1/workerpool v0.0.3/go.mod h1:vZnQ5Ynp2rnihrFubKfyf7S+hnxC2TgQt755PFQ7cBQ=
github.com/jawher/mow.cli v1.1.0/go.mod h1:aNaQlc7ozF3vw6IJ2dHjp2ZFiA4ozMIYY6PyuRJwlUg=
github.com/jinzhu/copier v0.3.5 h1:GlvfUwHk62RokgqVNvYsku0TATCF7bAHVwEXoBh3iJg=
github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg=
Expand Down
2 changes: 1 addition & 1 deletion pkg/services/importer/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func (s *service) Import(from, to int) error {
workers := workerpool.NewWorkerPool(
workers := workerpool.New(
workerpool.WithDelayedStart(),
)

Expand Down
75 changes: 75 additions & 0 deletions vendor/github.com/jacobbrewer1/workerpool/mock_Pool.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions vendor/github.com/jacobbrewer1/workerpool/pool.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

99 changes: 9 additions & 90 deletions vendor/github.com/jacobbrewer1/workerpool/worker.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fb1213c

Please sign in to comment.