Commit Graph

82 Commits (9bc5552c11f6aca08c8c873a0561882b3e099350)

Author SHA1 Message Date
wxiaoguang e6103955cc
Fix queue test (#30646) 7 months ago
wxiaoguang bcbeb24dba
Mock queue backoff duration (#30553) 7 months ago
wxiaoguang 6465f94a2d
Fix queue worker incorrectly stopped when there are still more items in the queue (#29532) 9 months ago
Jason Song 2c7b6c378e
Increase queue length (#27555) 1 year ago
wxiaoguang d0012c8806
Document the queue item's marshaling behavior (#27271) 1 year ago
zareck 4e240f2304
Expanding documentation in queue.go (#26889) 1 year ago
wxiaoguang 8baa42c8d7
Calculate MAX_WORKERS default value by CPU number (#26177) 1 year ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 1 year ago
wxiaoguang 84c8ab9fd1
Help to recover from corrupted levelqueue (#24912) 1 year ago
wxiaoguang 18f26cfbf7
Improve queue and logger context (#24924) 1 year ago
wxiaoguang 16a766cba1
Do not call nil handler for a dummy queue (#24880) 2 years ago
wxiaoguang 58dfaf3a75
Improve queue & process & stacktrace (#24636) 2 years ago
Kyle D a54c8b4ce9
Kd/fix redis unit test (#24650) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
zeripath ad8631c069
Fix intermittent CI failure in EmptyQueue (#23753) 2 years ago
silverwind fc62992518
Skip known flaky `queue` tests on CI environment (#24419) 2 years ago
silverwind 47748df9b3
Enable forbidigo linter (#24278) 2 years ago
KN4CK3R f1173d6879
Use more specific test methods (#24265) 2 years ago
techknowlogick 985f76dc4b
Update redis library to support redis v7 (#24114) 2 years ago
zeripath 27e49cd01c
Properly flush unique queues on startup (#23154) 2 years ago
zeripath a609cae9fb
Correctly handle select on multiple channels in Queues (#22146) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 0e57ff7eee
Add generic set type (#21408) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Gusted b5383590de
Fix 64-bit atomic operations on 32-bit machines (#19531) 3 years ago
zeripath 7b4c3c7bb1
Prevent intermittent NPE in queue tests (#19301) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
zeripath 4e57bd1d30
Add number in queue status to monitor page (#18712) 3 years ago
zeripath f8b21ac04a
Simplify Boost/Pause logic (#18673) 3 years ago
zeripath df44017328
Restart zero worker if there is still work to do (#18658) 3 years ago
zeripath 7ba1b7112f
Only attempt to flush queue if the underlying worker pool is not finished (#18593) 3 years ago
6543 6f6b8491da
add gitea-fmt back (#18526) 3 years ago
zeripath be77ede954
Change some logging levels (#18421) 3 years ago
zeripath 92b715e0f2
Attempt to prevent the deadlock in the QueueDiskChannel Test again (#18415) 3 years ago
zeripath 713985b1a4
Prevent deadlocks in persistable channel pause test (#18410) 3 years ago
zeripath ab7f701671
Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 3 years ago
zeripath a82fd98d53
Pause queues (#15928) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath a85e75b2b1
Prevent deadlock in TestPersistableChannelQueue (#17717) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
zeripath 7117c7774a
Make the Mirror Queue a queue (#17326) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
zeripath 6c125e9797
Use immediate queues in integration tests and ensure that immediate (#16927) 3 years ago
zeripath 06b9d553bc
Timeout on flush in testing (#16864) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 49bd9a1111
Fix race in log (#16490) 3 years ago
zeripath e83abfc289
Prevent race in TestPersistableChannelQueue (#16468) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 3 years ago