692 Commits

Author SHA1 Message Date
Andy Pan
a0e137a51c chore: add a new use case 2025-09-27 16:40:56 +08:00
Andy Pan
49d5ce6567 chore: update READMEs 2025-08-08 22:38:10 +08:00
Andy Pan
d12e26cb9e docs: add more use cases 2025-07-31 20:26:27 +08:00
Andy Pan
0de04f1c99
docs: update the comment on Options.PanicHandler to match its behavior (#365)
Fixes #364
2025-04-12 18:21:18 +08:00
POABOB
a44594205e
bug: don't reset the worker queue when rebooting preallocated pool (#360)
Fixes #358
2025-03-07 23:11:10 +08:00
Andy Pan
1bf9cfdd1b chore: bump up modules 2025-02-09 18:25:51 +08:00
Andy Pan
6eb0590bc2 chore: update READMEs 2025-01-17 20:11:32 +08:00
Andy Pan
3120dab1dd ci: fix the deprecated argument of codecov 2025-01-12 23:47:01 +08:00
Andy Pan
160ee0a8b2
test: add some basic testable examples (#353) 2025-01-12 23:29:13 +08:00
Andy Pan
60bd4c42f9
feat: implement generic pool (#351) 2025-01-12 20:50:22 +08:00
Andy Pan
9a1446b823
opt: streamline pool implementation to reduce duplicated code (#350)
Also, bump up the minimal required Go version from 1.16 to 1.18.
2025-01-12 13:55:38 +08:00
Andy Pan
4f33c6ef27
feat: export the internal package sync (#349) 2025-01-12 10:38:09 +08:00
Andy Pan
d4218913f7
Merge pull request #347 from panjf2000/minimum-go1.16 2024-12-11 21:46:26 +08:00
Andy Pan
df029e6411 opt: bump up the minimum required Go version to 1.16 2024-12-11 21:40:18 +08:00
Andy Pan
4acc96973c chore: update GitHub actions 2024-12-11 21:17:59 +08:00
Andy Pan
0ee85b0a1e chore: update READMEs 2024-12-11 21:13:42 +08:00
Andy Pan
99121e2404 chore: update some comments
Fixes #346
2024-12-11 21:10:03 +08:00
Andy Pan
e7e3c844aa chore: update the use cases 2024-11-13 11:12:40 +08:00
Andy Pan
2d40f3041b chore: update the READMEs 2024-10-17 11:16:43 +08:00
Andy Pan
2a562a7c2a actions: add actions/stale 2024-09-26 20:11:01 +08:00
Andy Pan
d85919e716 chore: update the JetBrains logo 2024-09-24 17:13:55 +08:00
Andy Pan
9df432d040 Move the list of patrons elsewhere
Relocated to https://andypan.me/donation/#-patrons
2024-08-19 11:18:58 +08:00
Andy Pan
4d0ebb896a chore: update README 2024-07-30 12:11:29 +08:00
Andy Pan
6169763f4f Add a new use case 2024-07-23 07:02:53 +08:00
Andy Pan
1e73dc2c7b doc: update the the section of use cases 2024-07-11 12:16:27 +08:00
Andy Pan
29210901a0 Fix a few broken image links 2024-07-05 15:18:12 +08:00
Andy Pan
313f136d00
bug: fix the last error being missed in ReleaseTimeout() for multi-pool (#334) 2024-06-18 12:09:09 +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
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
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