~netlandish/gobwebs

bc81c15713ea868acffe8f4f48362783d3be4eb0 — Peter Sanchez 4 days ago 2ddd709
dowork bump and adding queue worker pool size for email queue helper
3 files changed, 5 insertions(+), 5 deletions(-)

M email/email.go
M go.mod
M go.sum
M email/email.go => email/email.go +2 -2
@@ 78,8 78,8 @@ func NewServiceQueue(logger echo.Logger, service carrier.Service,
}

// NewQueue Creates a new email processing queue.
func NewQueue() *work.Queue {
	return work.NewQueue("email")
func NewQueue(qSize int) *work.Queue {
	return work.NewQueue("email", qSize)
}

// ForContext returns the email worker for this context.

M go.mod => go.mod +1 -1
@@ 3,7 3,7 @@ module netlandish.com/x/gobwebs
go 1.20

require (
	git.sr.ht/~sircmpwn/dowork v0.0.0-20221010085743-46c4299d76a1
	git.sr.ht/~sircmpwn/dowork v0.0.0-20241216125407-2b00aa42322c
	github.com/Masterminds/squirrel v1.5.4
	github.com/alexedwards/argon2id v1.0.0
	github.com/alexedwards/scs/postgresstore v0.0.0-20240316134038-7e11d57e8885

M go.sum => go.sum +2 -2
@@ 31,8 31,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
git.sr.ht/~sircmpwn/dowork v0.0.0-20221010085743-46c4299d76a1 h1:EvPKkneKkF/f7zEgKPqIZVyj3jWO8zSmsBOvMhAGqMA=
git.sr.ht/~sircmpwn/dowork v0.0.0-20221010085743-46c4299d76a1/go.mod h1:8neHEO3503w/rNtttnR0JFpQgM/GFhaafVwvkPsFIDw=
git.sr.ht/~sircmpwn/dowork v0.0.0-20241216125407-2b00aa42322c h1:v2opuaN0C5ZpuCifRNR9ZQ8V9IG+Ja80otK1MFj5RnI=
git.sr.ht/~sircmpwn/dowork v0.0.0-20241216125407-2b00aa42322c/go.mod h1:8neHEO3503w/rNtttnR0JFpQgM/GFhaafVwvkPsFIDw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8afzqM=