Commit Graph

506 Commits

Author SHA1 Message Date
Andy Pan a462acf87d
Create CONTRIBUTING.md 2019-08-27 23:10:55 +08:00
Andy Pan d5eded45bf
Merge pull request #48 from panjf2000/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2019-08-27 22:46:22 +08:00
Andy Pan bba6c12b60
Create CODE_OF_CONDUCT.md 2019-08-27 22:43:43 +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 2c15b60572 Renew the "Performance Summary" chart 2019-08-25 14:14:18 +08:00
Andy Pan 201ac20358 Add functional options pattern for ants 2019-08-25 14:14:18 +08:00
Andy Pan 1c767b45a1 🦖Fit in the new `Pool.Release()` method 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 2cbd2e3c2f 🥇Add a new badge of Sourcegraph 2019-08-25 14:14:14 +08:00
Andy Pan b4dce88db7 🎏Fix some ill-formed code in unit tests 2019-08-25 14:13:57 +08:00
Andy Pan a129a1bbe4 🏅Add a new badge: golangci 2019-08-25 14:13:47 +08:00
Andy Pan e0998837f7 🎯Remove useless file from travis CI 2019-08-19 16:19:12 +08:00
Andy Pan 6851895376 📝Update example code 2019-08-19 16:16:42 +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 4f88d413b4 🎖 Renew badges 2019-08-18 01:21:53 +08:00
Andy Pan a1888b140c 🧸Remove useless test cases 2019-07-27 13:10:11 +08:00
Andy Pan 61660e2109 📚Refactor the blocking logic in retrieveWorker function 2019-07-27 13:08:09 +08:00
Andy Pan 9cfc9fa643 🎲Add more test cases for new code 2019-07-27 12:05:55 +08:00
Andy Pan 51c0008356 🐞Fix a bug that blocks getting worker from pool 2019-07-27 12:05:44 +08:00
Andy Pan 61c6b5a7b0 🍜slightly revise 2019-07-27 12:02:21 +08:00
Andy Pan 94763266ad 🔋Fix some minor mistakes in test cases 2019-07-27 11:14:01 +08:00
Andy Pan 26cbd886a9 🎏Add go.mod 2019-07-27 11:12:16 +08:00
Andy Pan 254bb8b248 🍊Remove useless character in Chinese README 2019-07-27 02:31:25 +08:00
Andy Pan 01fb8f0d3e 🍓Delete a blank line in README 2019-07-27 02:27:46 +08:00
Andy Pan d931ac0d55 🍓Add a section for new feature: pre-malloc 2019-07-27 02:25:26 +08:00
Andy Pan 6b5c370832 🎨Update github badge 2019-07-27 01:39:10 +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
markjiang 21a109c7f0 优化清理速度并修复内存泄漏 2019-07-26 12:00:11 +08:00
Andy Pan fc48d32604 Renew the blog link of ants 2019-07-22 23:47:25 +08:00
Andy Pan 38cc2da3b1 Fixed the display issue of README 2019-07-21 21:12:36 +08:00
Andy Pan 0ed74f51cf Update blog link 2019-07-21 20:44:41 +08:00
Andy Pan 92c25be9a0
Update the link of project tutorial 2019-07-21 18:39:14 +08:00
Andy Pan 7e964e1309
Update the link of project tutorial 2019-07-21 18:38:25 +08:00
Andy Pan 05e96abd61 🍑 Do gofmt 2019-04-23 20:33:34 +08:00
Andy Pan afb5322674 ☃️ Update README.md 2019-04-23 20:31:49 +08:00
Sarath Sadasivan Pillai dec0401083 goreport: lint warning on code comment structure
Added a newline between group comment and exported variable line 😄
2019-04-23 19:11:56 +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 cd84ab67b3 🍜 Restore comments 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 ac576e1daf Test ants under go1.12 2019-04-08 22:22:37 +08:00
Andy Pan 4ae3fb8dc4 🏆 Code coverage improvement 2019-02-23 00:46:49 +08:00
Andy Pan 8bb0cde224 🌏 Reduce the threshold time of cleaning up goroutines in test code 2019-02-23 00:29:27 +08:00