Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c5f251b
use experimental go json v2 library
Aug 31, 2025
cb16b33
Merge branch 'main' into jsonv2
techknowlogick Sep 1, 2025
abc734c
Update go.mod
techknowlogick Sep 2, 2025
f9c8805
Update jsonv2.go
techknowlogick Sep 2, 2025
9d83440
Update jsonv2.go
techknowlogick Sep 2, 2025
31492c1
Update jsonv2.go
techknowlogick Sep 2, 2025
7b0832c
Update jsonv2.go
techknowlogick Sep 2, 2025
fe51938
Update jsonv2_fallback.go
techknowlogick Sep 2, 2025
29d1770
Update jsonv2_fallback.go
techknowlogick Sep 2, 2025
3c3f77f
Update jsonv2_fallback.go
techknowlogick Sep 2, 2025
ce4107d
Merge branch 'main' into jsonv2
techknowlogick Sep 2, 2025
b8fb94d
Update jsonv2_fallback.go
techknowlogick Sep 3, 2025
c748ca8
Update jsonv2_fallback.go
techknowlogick Sep 3, 2025
f9d91f2
Merge branch 'main' into jsonv2
techknowlogick Sep 4, 2025
7fec838
Update Go version from 1.24.6 to 1.25.0
techknowlogick Sep 4, 2025
3c6d690
bump go.mod
techknowlogick Sep 4, 2025
b3969be
use fixed go-swagger version
techknowlogick Sep 4, 2025
ba43047
Merge branch 'main' into jsonv2
techknowlogick Sep 4, 2025
94d537c
Update GOEXPERIMENT to use jsonv2 by default
techknowlogick Sep 4, 2025
82b2d97
fix lint
techknowlogick Sep 4, 2025
502b4fb
clean up modernizer fixes
techknowlogick Sep 4, 2025
d4b1e10
try to fix lint
techknowlogick Sep 4, 2025
8f3b218
try to use go1.25 waitgroup logic
techknowlogick Sep 4, 2025
34af20c
fixup test fails
techknowlogick Sep 4, 2025
a65bff4
Merge remote-tracking branch 'upstream/main' into jsonv2
Sep 10, 2025
cdcb9bd
adjust jsonv2 output to become similar to v1
Sep 10, 2025
ecc304a
resolve vagrant test failure
Sep 11, 2025
748b590
the security check has a panic when using the experimental go library
Sep 11, 2025
60b26b0
resolve panic in assetfs parsing of embeded data
Sep 11, 2025
28beca0
Merge branch 'main' into jsonv2
wxiaoguang Sep 26, 2025
07afc37
fix
wxiaoguang Sep 26, 2025
cb47618
fix
wxiaoguang Sep 26, 2025
f302ca8
fix
wxiaoguang Sep 26, 2025
ad93826
fine tune
wxiaoguang Sep 27, 2025
7f23bb9
Merge branch 'main' into jsonv2
wxiaoguang Sep 28, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try to use go1.25 waitgroup logic
  • Loading branch information
techknowlogick committed Sep 4, 2025
commit 8f3b21892e24e01c62101b95b5c1e2a8b79124f5
6 changes: 2 additions & 4 deletions modules/queue/workergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ func resetIdleTicker(t *time.Ticker, dur time.Duration) {

// doStartNewWorker starts a new worker for the queue, the worker reads from worker's channel and handles the items.
func (q *WorkerPoolQueue[T]) doStartNewWorker(wp *workerGroup[T]) {
wp.wg.Add(1)
go func() {
defer wp.wg.Done()
wp.wg.Go(func() {
log.Debug("Queue %q starts new worker", q.GetName())
defer log.Debug("Queue %q stops idle worker", q.GetName())

Expand Down Expand Up @@ -190,7 +188,7 @@ func (q *WorkerPoolQueue[T]) doStartNewWorker(wp *workerGroup[T]) {
q.workerNumMu.Unlock()
}
}
}()
})
}

// doFlush flushes the queue: it tries to read all items from the queue and handles them.
Expand Down
Loading