Commit Graph

672 Commits

Author SHA1 Message Date
Andy Pan 5dfe043dde
Merge pull request #331 from panjf2000/dev
minor: v2.10.0
2024-06-18 03:26:27 +08:00
Andy Pan b40e489286
bug: alleviate the data race between Release() and Reboot() (#333) 2024-06-18 03:05:09 +08:00
Andy Pan da22980e2c
opt: speed up ReleaseTimeout() for multi-pool (#332) 2024-06-18 02:42:55 +08:00
Andy Pan 95dad45c7d
bug: alleviate the data race between Release() and Reboot() (#330) 2024-06-18 02:00:36 +08:00
Andy Pan 1933478e2e chore: remove the unused constant of releaseTimeoutCount 2024-06-18 01:09:42 +08:00
Andy Pan 15e896153d
opt: make ReleaseTimeout() more efficient in waiting workers to exit (#329) 2024-06-18 01:06:48 +08:00
Andy Pan 3ffd3daa37
opt: calculate the interval for ReleaseTimeout() based on a default count (#327)
This PR reverts #325 to some extent.
2024-06-17 20:13:15 +08:00
Andy Pan b2374d5ae4
ci: replace macos-latest with macos-12 for go1.13 (#326) 2024-06-17 20:03:43 +08:00
Andy Pan 0d650f5c1e
opt: increase the interval of waiting in ReleaseTimeout() (#325) 2024-06-17 18:21:01 +08:00
Andy Pan ee5a7183d9 chore: add new use case 2024-06-17 17:56:12 +08:00
Andy Pan 0729518fc6 chore: update READMEs 2024-06-16 15:16:18 +08:00
Andy Pan 34ff2c2282 chore: fix a few lint issues in code 2024-04-15 18:13:28 +08:00
Andy Pan 83817c11bb chore: fix some warnings for GitHub Actions 2024-04-15 18:07:18 +08:00
Andy Pan 9df33f340c chore: retire the benchmark data 2024-04-15 17:50:28 +08:00
Andy Pan fc3f793a01
Merge pull request #318 from panjf2000/dev
patch: v2.9.1
2024-03-26 22:16:06 +08:00
Akshay Nanavare ce28ca17d1
bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317) 2024-03-26 19:35:40 +08:00
Andy Pan 10d9975f10 chore: update READMEs 2024-03-17 13:51:25 +08:00
Andy Pan 0454cab594 chore: switch from Gitter to Discord 2024-03-10 14:41:31 +08:00
Andy Pan 1eb46544fb chore: update READMEs 2024-02-27 16:12:57 +08:00
Andy Pan 5c07bca122 chore: bump up some GitHub actions 2024-02-05 19:03:49 +08:00
Andy Pan 74f5b2d330 chore: add more use cases 2024-01-26 22:52:50 +08:00
Andy Pan 306f027948 chore: fix some broken image links 2023-12-13 13:25:25 +08:00
POABOB 8b0eb06e60
doc: add MultiPool & MultiPoolFunc example code and update READMEs. (#311) 2023-11-27 10:56:56 +08:00
Andy Pan 1dbe4629aa
chore: add new benchmark tests (#309) 2023-11-21 18:16:18 +08:00
Andy Pan 5cecad0e71
Merge pull request #307 from panjf2000/dev
ver: release 2.9.0
2023-11-21 13:43:56 +08:00
Andy Pan fb82167503
opt: fall back to LeastTasks when RoundRobin can't find a worker (#306)
Besides, update a few comments and add new benchmarks for multi-pool
2023-11-21 13:22:02 +08:00
Andy Pan 19bd1ea02b
feat: add MultiPool and MultiPoolWithFunc (#305) 2023-11-21 11:53:46 +08:00
POABOB 27685ba408
refactor: enforce a few minor optimization in code (#302) 2023-10-18 14:59:30 +08:00
Andy Pan d9a08d1309
chore: eliminate some useless content (#303) 2023-10-18 14:58:26 +08:00
Andy Pan bd6ee4bf45
Merge pull request #299 from panjf2000/dev
patch: v2.8.2
2023-09-18 23:27:23 +08:00
Andy Pan f0b98c348a
chore: enable more title matchers for auto-labelers of bug and new feature (#300) 2023-09-18 23:12:39 +08:00
Andy Pan c8b4646d89
chore: enable more auto-labelers for PRs (#298)
* chore: enable auto-labeler for PRs of updating semantic version

* chore: enable auto-labeler for PRs doing chores
2023-09-18 23:04:41 +08:00
Andy Pan 2ce8d85f28
bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly (#297) 2023-09-18 22:40:46 +08:00
Andy Pan 45bc4f51ba
chore: clean up some comments and CI yaml (#296) 2023-09-18 22:37:02 +08:00
POABOB aee9c2e2da
refactor: refine the code in `retrieveWorker` to make it more readable (#295) 2023-09-17 22:06:25 +08:00
Andy Pan 1ce814699d
chore: bump up modules (#292) 2023-08-13 17:28:43 +08:00
Andy Pan 16771ceb8f chore: update READMEs 2023-07-23 12:18:13 +08:00
Andy Pan 1da45fef96
chore: add a new use case (#290) 2023-07-14 19:16:16 +08:00
Andy Pan 128b4b5893
Merge pull request #288 from panjf2000/dev
ver: release v2.8.1
2023-07-06 19:15:33 +08:00
E_L 2806c4af7c
opt: fix the potential goroutine leak after calling `Release()` (#287)
Co-authored-by: EL <evnldn9321@gmail.com>
2023-07-06 14:51:22 +08:00
Andy Pan 1411ae852f
Merge pull request #286 from panjf2000/dev
ver: release v2.8.0
2023-07-01 21:25:48 +08:00
Andy Pan 45a0390a9f chore: refine paths-ignore for all GitHub actions 2023-07-01 14:37:10 +08:00
E_L a66958c9d3
feat: add a new API `ReleaseTimeout` for the default pool (#285)
Co-authored-by: EL <evnldn9321@gmail.com>
2023-07-01 12:55:34 +08:00
Andy Pan 78ff6e0213
Merge pull request #284 from panjf2000/dev
Sync recent changes
2023-06-30 21:37:23 +08:00
Andy Pan d3b35b8db2 chore: update some workflows 2023-06-30 21:24:02 +08:00
Andy Pan 89ecc3ff68 chore: update the workflow of "Check pull request target" 2023-06-30 21:17:48 +08:00
Andy Pan 46f9b68028 chore: update the workflow of pull requests 2023-06-30 20:30:36 +08:00
Andy Pan 2c599b83a1 chore: ignore some cases for GitHub actions of testing 2023-06-29 15:16:32 +08:00
Andy Pan daef17d647 chore: update the issue template 2023-06-29 13:22:55 +08:00
Andy Pan 7be597c9e8 chore: code cleanup 2023-06-09 00:14:11 +08:00