Commit Graph

  • a0e137a51c chore: add a new use case dev Andy Pan 2025-09-27 16:40:56 +08:00
  • 49d5ce6567 chore: update READMEs Andy Pan 2025-08-08 22:38:10 +08:00
  • d12e26cb9e docs: add more use cases Andy Pan 2025-07-31 20:26:27 +08:00
  • 3196233d2d
    docs: update the comment on Options.PanicHandler to match its behavior (#365) (#366) v2.11.3 master Andy Pan 2025-04-12 20:41:10 +08:00
  • 0de04f1c99
    docs: update the comment on Options.PanicHandler to match its behavior (#365) Andy Pan 2025-04-12 18:21:18 +08:00
  • 711d58609b
    Merge pull request #361 from panjf2000/dev v2.11.2 Andy Pan 2025-03-07 23:27:59 +08:00
  • a44594205e
    bug: don't reset the worker queue when rebooting preallocated pool (#360) POABOB 2025-03-07 23:11:10 +08:00
  • 8501024f6e
    Merge pull request #357 from panjf2000/dev v2.11.1 Andy Pan 2025-02-09 21:30:18 +08:00
  • 1bf9cfdd1b chore: bump up modules Andy Pan 2025-02-09 18:25:51 +08:00
  • 6eb0590bc2 chore: update READMEs Andy Pan 2025-01-17 20:11:32 +08:00
  • 3120dab1dd ci: fix the deprecated argument of codecov Andy Pan 2025-01-12 23:47:01 +08:00
  • 9c0876f0bc
    Merge pull request #352 from panjf2000/dev v2.11.0 Andy Pan 2025-01-12 23:37:02 +08:00
  • 160ee0a8b2
    test: add some basic testable examples (#353) Andy Pan 2025-01-12 23:29:13 +08:00
  • 60bd4c42f9
    feat: implement generic pool (#351) Andy Pan 2025-01-12 20:50:22 +08:00
  • 9a1446b823
    opt: streamline pool implementation to reduce duplicated code (#350) Andy Pan 2025-01-12 13:55:38 +08:00
  • 4f33c6ef27
    feat: export the internal package sync (#349) Andy Pan 2025-01-12 10:38:09 +08:00
  • d4218913f7
    Merge pull request #347 from panjf2000/minimum-go1.16 Andy Pan 2024-12-11 21:46:26 +08:00
  • df029e6411 opt: bump up the minimum required Go version to 1.16 Andy Pan 2024-12-11 21:31:38 +08:00
  • 4acc96973c chore: update GitHub actions Andy Pan 2024-12-11 21:17:59 +08:00
  • 0ee85b0a1e chore: update READMEs Andy Pan 2024-12-11 21:13:42 +08:00
  • 99121e2404 chore: update some comments Andy Pan 2024-12-11 21:09:56 +08:00
  • e7e3c844aa chore: update the use cases Andy Pan 2024-11-13 11:12:40 +08:00
  • 2d40f3041b chore: update the READMEs Andy Pan 2024-10-17 11:16:43 +08:00
  • 2a562a7c2a actions: add actions/stale Andy Pan 2024-09-26 20:11:01 +08:00
  • d85919e716 chore: update the JetBrains logo Andy Pan 2024-09-24 17:13:55 +08:00
  • 9df432d040 Move the list of patrons elsewhere Andy Pan 2024-08-19 11:18:58 +08:00
  • 4d0ebb896a chore: update README Andy Pan 2024-07-30 12:11:29 +08:00
  • 6169763f4f Add a new use case Andy Pan 2024-07-23 07:02:53 +08:00
  • 1e73dc2c7b doc: update the the section of use cases Andy Pan 2024-07-11 12:16:27 +08:00
  • 29210901a0 Fix a few broken image links Andy Pan 2024-07-05 15:13:23 +08:00
  • 1217e3eabe
    minor: v2.10.0 (update) (#335) v2.10.0 Andy Pan 2024-06-18 17:25:25 +08:00
  • 313f136d00
    bug: fix the last error being missed in ReleaseTimeout() for multi-pool (#334) Andy Pan 2024-06-18 12:09:09 +08:00
  • 5dfe043dde
    Merge pull request #331 from panjf2000/dev Andy Pan 2024-06-18 03:26:27 +08:00
  • b40e489286
    bug: alleviate the data race between Release() and Reboot() (#333) Andy Pan 2024-06-18 03:05:09 +08:00
  • da22980e2c
    opt: speed up ReleaseTimeout() for multi-pool (#332) Andy Pan 2024-06-18 02:42:55 +08:00
  • 95dad45c7d
    bug: alleviate the data race between Release() and Reboot() (#330) Andy Pan 2024-06-18 02:00:36 +08:00
  • 1933478e2e chore: remove the unused constant of releaseTimeoutCount Andy Pan 2024-06-18 01:09:42 +08:00
  • 15e896153d
    opt: make ReleaseTimeout() more efficient in waiting workers to exit (#329) Andy Pan 2024-06-18 01:06:48 +08:00
  • 3ffd3daa37
    opt: calculate the interval for ReleaseTimeout() based on a default count (#327) Andy Pan 2024-06-17 20:13:15 +08:00
  • b2374d5ae4
    ci: replace macos-latest with macos-12 for go1.13 (#326) Andy Pan 2024-06-17 20:03:43 +08:00
  • 0d650f5c1e
    opt: increase the interval of waiting in ReleaseTimeout() (#325) Andy Pan 2024-06-17 18:21:01 +08:00
  • ee5a7183d9 chore: add new use case Andy Pan 2024-06-17 17:56:12 +08:00
  • 0729518fc6 chore: update READMEs Andy Pan 2024-06-16 15:16:18 +08:00
  • 34ff2c2282 chore: fix a few lint issues in code Andy Pan 2024-04-15 18:13:28 +08:00
  • 83817c11bb chore: fix some warnings for GitHub Actions Andy Pan 2024-04-15 18:07:18 +08:00
  • 9df33f340c chore: retire the benchmark data Andy Pan 2024-04-15 17:50:28 +08:00
  • fc3f793a01
    Merge pull request #318 from panjf2000/dev v2.9.1 Andy Pan 2024-03-26 22:16:06 +08:00
  • ce28ca17d1
    bug: return error before creating multi pools if lbs is invalid to avoid leaks (#317) Akshay Nanavare 2024-03-26 17:05:40 +05:30
  • 10d9975f10 chore: update READMEs Andy Pan 2024-03-17 13:51:25 +08:00
  • 0454cab594 chore: switch from Gitter to Discord Andy Pan 2024-03-10 14:41:31 +08:00
  • 1eb46544fb chore: update READMEs Andy Pan 2024-02-27 16:12:57 +08:00
  • 5c07bca122 chore: bump up some GitHub actions Andy Pan 2024-02-05 18:59:34 +08:00
  • 74f5b2d330 chore: add more use cases Andy Pan 2024-01-26 22:52:50 +08:00
  • 306f027948 chore: fix some broken image links Andy Pan 2023-12-13 13:25:15 +08:00
  • 8b0eb06e60
    doc: add MultiPool & MultiPoolFunc example code and update READMEs. (#311) POABOB 2023-11-27 10:56:56 +08:00
  • 1dbe4629aa
    chore: add new benchmark tests (#309) Andy Pan 2023-11-21 18:16:18 +08:00
  • 5cecad0e71
    Merge pull request #307 from panjf2000/dev v2.9.0 Andy Pan 2023-11-21 13:43:56 +08:00
  • fb82167503
    opt: fall back to LeastTasks when RoundRobin can't find a worker (#306) Andy Pan 2023-11-21 13:22:02 +08:00
  • 19bd1ea02b
    feat: add MultiPool and MultiPoolWithFunc (#305) Andy Pan 2023-11-21 11:53:46 +08:00
  • 27685ba408
    refactor: enforce a few minor optimization in code (#302) POABOB 2023-10-18 14:59:30 +08:00
  • d9a08d1309
    chore: eliminate some useless content (#303) Andy Pan 2023-10-18 14:58:26 +08:00
  • bd6ee4bf45
    Merge pull request #299 from panjf2000/dev v2.8.2 Andy Pan 2023-09-18 23:27:23 +08:00
  • f0b98c348a
    chore: enable more title matchers for auto-labelers of bug and new feature (#300) Andy Pan 2023-09-18 23:12:39 +08:00
  • c8b4646d89
    chore: enable more auto-labelers for PRs (#298) Andy Pan 2023-09-18 23:04:41 +08:00
  • 2ce8d85f28
    bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly (#297) Andy Pan 2023-09-18 22:40:46 +08:00
  • 45bc4f51ba
    chore: clean up some comments and CI yaml (#296) Andy Pan 2023-09-18 22:37:02 +08:00
  • aee9c2e2da
    refactor: refine the code in retrieveWorker to make it more readable (#295) POABOB 2023-09-17 22:06:25 +08:00
  • 1ce814699d
    chore: bump up modules (#292) Andy Pan 2023-08-13 17:28:43 +08:00
  • 16771ceb8f chore: update READMEs Andy Pan 2023-07-23 12:05:07 +08:00
  • 1da45fef96
    chore: add a new use case (#290) Andy Pan 2023-07-14 19:16:16 +08:00
  • 128b4b5893
    Merge pull request #288 from panjf2000/dev v2.8.1 Andy Pan 2023-07-06 19:15:33 +08:00
  • 2806c4af7c
    opt: fix the potential goroutine leak after calling Release() (#287) E_L 2023-07-06 02:51:22 -04:00
  • 1411ae852f
    Merge pull request #286 from panjf2000/dev v2.8.0 Andy Pan 2023-07-01 21:25:48 +08:00
  • 45a0390a9f chore: refine paths-ignore for all GitHub actions Andy Pan 2023-07-01 14:37:05 +08:00
  • a66958c9d3
    feat: add a new API ReleaseTimeout for the default pool (#285) E_L 2023-07-01 00:55:34 -04:00
  • 78ff6e0213
    Merge pull request #284 from panjf2000/dev Andy Pan 2023-06-30 21:37:23 +08:00
  • d3b35b8db2 chore: update some workflows Andy Pan 2023-06-30 21:22:06 +08:00
  • 89ecc3ff68 chore: update the workflow of "Check pull request target" Andy Pan 2023-06-30 21:17:48 +08:00
  • 46f9b68028 chore: update the workflow of pull requests Andy Pan 2023-06-30 20:30:36 +08:00
  • 2c599b83a1 chore: ignore some cases for GitHub actions of testing Andy Pan 2023-06-29 15:16:32 +08:00
  • daef17d647 chore: update the issue template Andy Pan 2023-06-29 13:22:43 +08:00
  • 7be597c9e8 chore: code cleanup Andy Pan 2023-06-09 00:12:59 +08:00
  • 67b3a7a2c3
    bug: avoid overflow when computing mid in the binarySearch of the workerStack (#278) v2.7.5 gocurr 2023-06-08 20:27:59 +08:00
  • 9fdd99a7b4 ci: update workflow Andy Pan 2023-05-21 16:04:11 +08:00
  • b9ac4d4730 chore: update READMEs Andy Pan 2023-05-21 16:00:19 +08:00
  • bca5b3a7d6
    bug: fix the missing log.Lmsgprefix in go1.13 (#275) v2.7.4 Zhanghuixian Luo 2023-05-11 10:05:22 +08:00
  • b32591f8bd opt: awake blocking goroutines more precisely in purgeStaleWorkers v2.7.3 Andy Pan 2023-04-15 23:47:55 +08:00
  • 73defa0289 chore: rename the internal method in workerQueue Andy Pan 2023-04-04 13:01:14 +08:00
  • 650c9db322 chore: delete the useless .travis.yml Andy Pan 2023-03-23 18:36:18 +08:00
  • 4b495fd500 chore: code cleanup v2.7.2 Andy Pan 2023-03-23 18:18:52 +08:00
  • 55e222d20f chore: rename the method 'when' of worker to 'lastUsedTime' Andy Pan 2023-03-23 15:16:21 +08:00
  • e425c7b917 chore: rename the field 'recycleTime' of worker to 'lastUsed' Andy Pan 2023-03-23 15:02:00 +08:00
  • 7a56a5c082 opt: use runtime/debug.Stack() to print stack trace of panic Andy Pan 2023-03-23 14:42:17 +08:00
  • 3110e41921 chore: reformat the default log string Andy Pan 2023-03-23 14:40:49 +08:00
  • 0313effc53 opt: refactor the worker queue for reusability and readability of code Andy Pan 2023-03-23 11:40:06 +08:00
  • b880b659f5 chore: bump up golangci-lint to v1.51.2 Andy Pan 2023-03-09 00:51:06 +08:00
  • 22139c0295
    Update FUNDING.yml Andy Pan 2023-03-08 10:02:52 +08:00
  • 33c77540bd doc: update use cases Andy Pan 2023-03-07 10:46:27 +08:00
  • 711cad9624 chore: reorganize the structure of internal packages Andy Pan 2023-02-19 22:46:33 +08:00
  • 88d2454bbb fix: resolve the build failures v2.7.1 Andy Pan 2022-12-20 22:29:21 +08:00