Andy Pan
|
e01348e424
|
Fix a bug from the previous commit
Updates #141
|
2021-03-19 01:21:14 +08:00 |
Andy Pan
|
36c4272286
|
Fix a bug that blocks callers infinitely
Fixes #141
|
2021-03-18 21:42:54 +08:00 |
Z
|
94a7a7f1cb
|
fix: Memory leak (#114)
Fixes #113
|
2020-10-15 11:35:55 +08:00 |
Andy Pan
|
001c8b5e1b
|
Update READMEs and comments
|
2020-08-12 20:49:20 +08:00 |
Andy Pan
|
ad86bfa6d2
|
Improve the unlimited pool
Updates #90
|
2020-05-27 22:26:39 +08:00 |
Andy Pan
|
1c534853c8
|
Support unlimited pool
Fixes #90
|
2020-05-08 23:24:26 +08:00 |
Andy Pan
|
d55cc24a22
|
Fix code issues
|
2020-04-08 13:16:14 +08:00 |
Andy Pan
|
e507ae340f
|
Support customized logger
|
2020-03-13 00:02:19 +08:00 |
Andy Pan
|
d32d668565
|
Add a feature of rebooting a released pool
|
2020-01-16 23:45:15 +08:00 |
Andy Pan
|
b7fb5f33c9
|
Remove the useless code line
|
2020-01-16 11:52:49 +08:00 |
Andy Pan
|
3bfc4f2ebd
|
sync.Pool opt
|
2019-10-24 22:32:12 +08:00 |
Andy Pan
|
52b301019a
|
Fix typos and add comments
|
2019-10-15 14:50:38 +08:00 |
Andy Pan
|
5ecbdf4bf2
|
Make optimization to Pool and PoolWithFunc struct
|
2019-10-10 22:28:21 +08:00 |
Andy Pan
|
b1cf2ff445
|
Refine the logic of sync.Pool
|
2019-10-06 02:02:40 +08:00 |
Andy Pan
|
b0ec5102cc
|
Refactoring
|
2019-10-04 11:24:13 +08:00 |
Andy Pan
|
e73db1d7d2
|
Replace mutex with spin-lock
|
2019-09-27 20:51:46 +08:00 |
Andy Pan
|
89644d035c
|
Remove some useless code
|
2019-09-03 09:29:26 +08:00 |
Andy Pan
|
44aec9954f
|
A little bit of optimization in periodicallyPurge()
|
2019-08-25 17:41:49 +08:00 |
Andy Pan
|
cbf8ddf048
|
Fixed #45 and Releasing v2 module
|
2019-08-25 14:26:14 +08:00 |
Andy Pan
|
201ac20358
|
Add functional options pattern for ants
|
2019-08-25 14:14:18 +08:00 |
Andy Pan
|
d1b4e8b163
|
🍻Refine the `Pool.Release()` Method
|
2019-08-25 14:14:18 +08:00 |
Cholerae Hu
|
444711e79f
|
support nonblocking submit and max blocking limit setting
Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>
|
2019-08-25 14:14:18 +08:00 |
Andy Pan
|
08d01b6b48
|
🎏Fix a bug where invokers get stuck in waiting idle workers
|
2019-08-18 04:15:21 +08:00 |
Andy Pan
|
af70ed0660
|
🎏Fix a bug where invokers get stuck in waiting idle workers
|
2019-08-18 02:45:32 +08:00 |
Andy Pan
|
61660e2109
|
📚Refactor the blocking logic in retrieveWorker function
|
2019-07-27 13:08:09 +08:00 |
Andy Pan
|
51c0008356
|
🐞Fix a bug that blocks getting worker from pool
|
2019-07-27 12:05:44 +08:00 |
Andy Pan
|
71faec8c1a
|
☄️Rename the function with the more applicable name
|
2019-07-26 23:52:05 +08:00 |
anteoy
|
3e1c7a03a5
|
optimize memory allocation and add the log of panic stack
|
2019-07-26 23:22:24 +08:00 |
Andy Pan
|
f447bf104a
|
📝Fix the type error
|
2019-07-26 16:11:26 +08:00 |
Andy Pan
|
9eb91a4ae0
|
📝Optimize the logic when cleaning up expired workers
|
2019-07-26 14:14:58 +08:00 |
Andy Pan
|
d6076c09aa
|
🙄 Improvement in `periodicallyPurge`
|
2019-04-14 11:30:19 +08:00 |
Andy Pan
|
00294fd50b
|
😏 Optimization of the structure and style
|
2019-04-14 11:08:06 +08:00 |
Andy Pan
|
05fbdb8d5b
|
🎭 Fix race error
|
2019-04-14 11:08:06 +08:00 |
Andy Pan
|
aa7dd6f8cc
|
🦖 Develop a more graceful release
|
2019-04-14 11:08:06 +08:00 |
Andy Pan
|
96348a39f5
|
🐳 Switch function name from Serve to Invoke
|
2019-02-19 20:16:14 +08:00 |
Andy Pan
|
64b763c558
|
🦠 Adapt code for explicit functions
|
2019-02-02 10:36:40 +08:00 |
Andy Pan
|
91377c898b
|
🦅 Fix a bug when using sync.Pool
|
2019-01-27 05:10:13 +08:00 |
Andy Pan
|
5c666692e9
|
🐬 Code logic improvement in pool.retrieveWorker
|
2019-01-27 04:25:36 +08:00 |
Andy Pan
|
689d74c63b
|
Refactor about the synchronous lock
|
2019-01-27 04:05:58 +08:00 |
Andy Pan
|
908553139c
|
🐬 Performance improvement: use sync.Pool to cache active workers
|
2019-01-27 00:26:24 +08:00 |
Andy Pan
|
90f672b9d5
|
update
|
2019-01-26 21:45:49 +08:00 |
Andy Pan
|
f8d71bb276
|
🐯 Refactor variable "release" with atomic operation
|
2019-01-26 15:29:05 +08:00 |
Andy Pan
|
b091435432
|
🐲 An optimization in worker channel
|
2019-01-26 14:32:12 +08:00 |
Andy Pan
|
c829c6f622
|
🐶 Replace the type of variable "release" with bool type
|
2019-01-26 13:45:00 +08:00 |
Andy Pan
|
e15105fd84
|
🚗 Reduce a blank line
|
2019-01-26 12:29:07 +08:00 |
Andy Pan
|
d3bcc5d10b
|
🐳 Use the nil of chan to indicate the pool closed or not
|
2019-01-26 12:26:26 +08:00 |
Andy Pan
|
b6e43aeee3
|
🐯 Optimize code comments
|
2019-01-25 22:01:25 +08:00 |
Cholerae Hu
|
9158bd3702
|
feature: add PanicHandler
Signed-off-by: Cholerae Hu <choleraehyq@gmail.com>
|
2019-01-22 13:41:33 +08:00 |
Andy Pan
|
4320708756
|
supplement annotations
|
2018-12-07 01:11:54 +08:00 |
Andy Pan
|
639f55c4c9
|
Merge pull request #19 from zplzpl/hotfix/tickerStop
Possible memory leak because of Ticker
|
2018-12-01 23:49:31 +08:00 |