2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-22 00:30:17 +08:00

355 Commits

Author SHA1 Message Date
Ken Hibino
fdd2284437 Update readme 2020-04-18 12:37:09 -07:00
Ken Hibino
5daf99c18e Add failure test for heartbeater 2020-04-18 07:56:27 -07:00
Ken Hibino
2d0e813335 Move Broker interface to base package 2020-04-18 07:55:10 -07:00
Ken Hibino
7091a6ab0b Add test to simulate situation where redis is down 2020-04-17 08:00:01 -07:00
Ken Hibino
0fc8c7411b Define broker interface 2020-04-17 07:00:55 -07:00
Ken Hibino
fe0bfdfee4 Fix subscriber to not panic when it cannot establish pubsub channel on
startup
2020-04-16 08:58:44 -07:00
Ken Hibino
c37143ec64 Minor reorganization in tests 2020-04-15 09:02:28 -07:00
Ken Hibino
2a6ac30144 Reword doc comments 2020-04-15 07:30:59 -07:00
Ken Hibino
a4565e3a98 Allow user to configure shutdown timeout 2020-04-15 07:15:01 -07:00
Ken Hibino
7f8cfdc11e Fix test for base package 2020-04-14 09:20:09 -07:00
Ken Hibino
d96d038b54 Add test cases for server error 2020-04-14 09:01:22 -07:00
Ken Hibino
15b836049d Update doc comments 2020-04-14 07:52:48 -07:00
Ken Hibino
07e2a54285 Update docs with new APIs 2020-04-13 08:05:28 -07:00
Ken Hibino
8d87e1d19d Rename ps command to servers 2020-04-12 17:09:58 -07:00
Ken Hibino
e717149833 Update all reference to asynqmon to Asynq CLI 2020-04-12 16:50:16 -07:00
Ken Hibino
68db689cdc Rename internal ProcessState to ServerState 2020-04-12 16:42:11 -07:00
Ken Hibino
8e47d0b751 Rename CLI to asynq 2020-04-12 14:37:42 -07:00
Ken Hibino
1036677109 Refactor server state 2020-04-12 11:41:50 -07:00
Ken Hibino
f131c495b6 Export Start, Stop and Quiet method on Server type 2020-04-12 11:00:45 -07:00
Ken Hibino
2705b6d452 Rename Background to Server 2020-04-12 08:16:42 -07:00
Ken Hibino
022dc29701 Add overview section in readme 2020-04-11 17:08:31 -07:00
Ken Hibino
40d1889ba0 Highlight stability and compatibility section in readme 2020-04-11 09:30:00 -07:00
Ken Hibino
7e96e893fe (fix): Change log messages depending on signals being handled 2020-04-10 08:56:01 -07:00
Ken Hibino
84b0c76c8b v0.7.1 v0.7.1 2020-04-05 14:56:06 -07:00
Ken Hibino
60b887b8e3 Fix singnal handling for different systems 2020-04-05 14:37:23 -07:00
Ken Hibino
7864bea55c Update readme
Add features section
2020-03-28 08:44:06 -07:00
Apos Spanos
47220554ca Correct typo 2020-03-23 13:47:05 -07:00
Ken Hibino
f91c05b92c v0.7.0 v0.7.0 2020-03-22 12:04:37 -07:00
Ken Hibino
9b4438347e Fix comment 2020-03-21 11:44:26 -07:00
Ken Hibino
c33dd447ac Allow client to enqueue a task with unique option
Changes:

- Added Unique option for clients
- Require go v.13 or above (to use new errors wrapping functions)
- Fixed adding queue key to all-queues set (asynq:queues) when scheduling.
2020-03-21 11:40:40 -07:00
Ken Hibino
6df2c3ae2b v0.6.2 v0.6.2 2020-03-15 21:02:28 -07:00
Ken Hibino
37554fd23c Update readme example code 2020-03-15 14:56:00 -07:00
Ken Hibino
77f5a38453 Refactor payload_test to reduce cyclomatic complexities 2020-03-14 12:30:42 -07:00
Ken Hibino
8d2b9d6be7 Add comments to exported types and functions from internal/log package 2020-03-13 21:04:45 -07:00
Bo-Yi Wu
1b7d557c66 fix typo 2020-03-13 20:02:26 -07:00
Bo-Yi Wu
30b68728d4 chore(lint): fix from gofmt -s 2020-03-13 20:01:39 -07:00
Ken Hibino
310d38620d Minor tweak to readme example code 2020-03-13 17:27:20 -07:00
Ken Hibino
1a53bbf21b Update changelog 2020-03-13 17:27:20 -07:00
Ken Hibino
9c79a7d507 Simplify code with gofmt -s 2020-03-13 14:24:24 -07:00
Ken Hibino
516f95edff Add Use method to better support middlewares with ServeMux 2020-03-13 14:13:17 -07:00
Ken Hibino
cf7a677312 v0.6.1 v0.6.1 2020-03-12 08:42:34 -07:00
Ken Hibino
0bc6eba021 Allow custom logger to be used in Background 2020-03-12 08:40:37 -07:00
Ken Hibino
d664d68fa4 Extract out log package 2020-03-09 07:17:52 -07:00
Ken Hibino
a425f54d23 [ci skip] Remove todo comment 2020-03-09 06:09:07 -07:00
Ken Hibino
3c722386b0 Add Deadline option when enqueuing tasks
Deadline option sets the deadline for the given task's context deadline.
2020-03-08 17:12:42 -07:00
Ken Hibino
25992c2781 [ci skip] Minor readme update 2020-03-03 21:39:16 -08:00
Ken Hibino
b9e3cad7a7 [ci skip] Update readme
- Added flow chart for task queue
- Reordered sections
2020-03-02 07:06:11 -08:00
Ken Hibino
b6486716b4 v0.6.0 v0.6.0 2020-03-01 15:54:59 -08:00
Ken Hibino
742ed6546f Add ServeMux type
Allow user to use ServeMux type to be used as a Handler.
ServeMux API is design to be similar to net/http.ServeMux API.
2020-03-01 15:53:18 -08:00
Ken Hibino
897ab4e28b Add ErrorHandler type to changelog 2020-02-29 22:09:13 -08:00