Commit Graph

67 Commits

Author SHA1 Message Date
Alejandro Durante c7a74b9be5 Merge pull request #34 from alitto/issue/22
Prevent deadlock when purging idle worker during task submission
2022-08-28 19:10:50 -03:00
Alejandro Durante 7edfde9f7b Upgrade to go 1.19 2022-08-28 18:58:17 -03:00
Alejandro Durante ac8953dc20 Prevent deadlock when purging idle worker during task submission 2022-08-28 18:53:17 -03:00
Alejandro Durante d01340a7a2 Merge pull request #32 from lonre/patch-1
Polish docs
2022-08-22 08:10:40 -03:00
Lonre Wang 35de043ccc Update group.go 2022-08-22 12:21:47 +08:00
Alejandro Durante 7a99f8514b Create FUNDING.yml 2022-07-31 11:45:55 -03:00
Alejandro Durante 47ab16c2bf Prevent NPE in GroupContext 2022-05-09 20:24:36 -03:00
Alejandro Durante 44f8f0ddb3 Merge pull request #30 from alitto/feature/group-context
Implement task group associated to a Context & more
2022-05-09 20:11:47 -03:00
Alejandro Durante 3968f4003c Group context 2022-05-09 20:08:11 -03:00
Alejandro Durante d4c09d4973 Create codeql-analysis.yml 2022-04-09 11:40:41 -03:00
Alejandro Durante ccf465c09d Move benchmarks to a different github repository 2022-04-09 11:36:06 -03:00
Alejandro Durante 286125ed9e Merge pull request #28 from alitto/bug/purge-after-channel-closed-2
Allow concurrent calls to StopAndWait & other fixes
2022-03-12 17:42:47 -03:00
Alejandro Durante b52e83255c Prevent race condition in stopped flag 2022-03-12 17:39:05 -03:00
Alejandro Durante c0b34be41c Bump versions 2022-03-12 17:19:54 -03:00
Alejandro Durante 1c5208b35a Simplify submit method and remove atomic counter from resizing strategies 2022-03-12 15:20:12 -03:00
Alejandro Durante 15e5de604b Allow concurrent calls to StopAndWait 2022-03-12 09:47:44 -03:00
Alejandro Durante 23a42e4bed Merge pull request #27 from alitto/bug/purge-after-channel-closed
Prevent "send on closed channel" panic in purger goroutine
2022-03-12 09:10:37 -03:00
chenyahui dd812951b9 Use Channel instead of purgerWaitGroup 2022-03-08 11:07:50 +08:00
chenyahui fe39f93496 Wait purge goroutine exit in stop function to prevent send on closed channel 2022-03-07 18:22:12 +08:00
Alejandro Durante 5a66a00af9 Prevent "send on closed channel" in purger goroutine 2022-03-06 19:50:36 -03:00
Alejandro Durante db6c2ff9e8 Fix readme badges 2022-01-02 11:55:07 -03:00
Alejandro Durante 4e0f34a49b Merge pull request #24 from alitto/feature/1.7.0
Pool context option & stop with timeout
2022-01-02 11:51:42 -03:00
Alejandro Durante d67b1d58b1 Add codecov action 2022-01-02 11:48:53 -03:00
Alejandro Durante 00b9c16d95 Migrate to Github actions 2022-01-02 11:21:31 -03:00
Alejandro Durante 6c719078e5 Pool context option & stop with timeout 2022-01-02 10:46:22 -03:00
Alejandro Durante 9d7bd8fe08 Merge pull request #22 from alitto/feature/1.6.1
Improve handling of tasks submitted to a stopped pool
2021-12-26 10:50:10 -03:00
Alejandro Durante f833392da4 Update dependencies in benchmark 2021-12-26 10:40:19 -03:00
Alejandro Durante 61e1a00a76 Improve handling of tasks submitted to a stopped pool 2021-12-25 20:57:46 -03:00
Alejandro Durante a646d998a0 Merge pull request #16 from alitto/feature/1.6.0
Upgrade to go v1.17
2021-11-20 10:53:16 -03:00
Alejandro Durante fc8bba0451 Update to go v1.17 2021-11-20 10:45:55 -03:00
Alejandro Durante a8db74f50c Fix flaky tests 2021-07-10 11:06:33 -03:00
Alejandro Durante e20608949a Merge pull request #14 from alitto/bug/fix-waiting-count
Prevent WaitingTasks counter to wrap around and upgrade to Go v1.16
2021-07-10 10:57:27 -03:00
Alejandro Durante fc14197887 Prevent WaitingTasks counter to wrap around 2021-07-10 10:48:20 -03:00
Alejandro Durante 72559da49d Merge pull request #11 from titanxxh/patch-1
@titanxxh fix benchmark typo
2021-04-29 09:09:23 -03:00
Xinhao Xu 56b957491f fix benchmark typo 2021-04-29 11:17:23 +08:00
Xinhao Xu 1da23aac1a fix benchmark typo 2021-04-29 11:15:40 +08:00
Alejandro Durante a5eea7f4c9 Merge pull request #9 from alitto/feature/1.5.0
Metrics, Prometheus example, Upgrade to Go 1.15 and fixes
2020-12-31 15:35:28 -03:00
alitto 5b374210cb Add Metrics section to Readme 2020-12-31 14:31:29 -03:00
alitto a905031a9e Add task metrics to prometheus example 2020-12-31 14:04:42 -03:00
alitto 6168d68b3e Upgrade Go runtime to 1.15 and bump version 2020-12-31 12:38:48 -03:00
alitto bb00d6603a Add getters for metrics and configuration options 2020-12-31 12:31:23 -03:00
alitto 5f7cd69f18 Fix corner cases and improve benchmarks section 2020-06-07 10:53:27 -03:00
alitto dfbb355ab5 Fix corner case in rated resizer 2020-06-06 20:54:16 -03:00
Alejandro Durante d7520f2075 Merge pull request #4 from alitto/feature/1.3.1
Feature/1.3.1
2020-06-06 19:17:02 -03:00
alitto 3e8fc21d8e Update readme 2020-06-06 19:08:26 -03:00
alitto 0a4f0e9f32 Simplify resizing strategies 2020-06-06 16:42:46 -03:00
alitto f8b427ec5a 1.3.1 Performance improvements 2020-05-31 15:22:55 -03:00
alitto 721045af8d Fix failing test 2020-05-25 23:20:17 -03:00
Alejandro Durante e6494e10fe Merge pull request #3 from alitto/release/1.3.0
Add ability to configure pool resizing strategy
2020-05-25 23:00:39 -03:00
alitto dc67fea72f Add ability to configure pool growth strategy 2020-05-25 22:50:01 -03:00