Ken Hibino
d612a8a9e4
v0.18.6
2021-10-03 05:55:49 -07:00
Ken Hibino
05534c6f24
v0.18.5
2021-09-01 06:02:49 -07:00
Ken Hibino
f0db219f6a
Add IsFailure to Config
...
With this IsFailure config, users can provide a predicate function to
determine whether the error returned from Handler counts as a failure.
2021-09-01 06:00:54 -07:00
Ken Hibino
421dc584ff
v0.18.4
2021-08-17 17:12:33 -07:00
Ken Hibino
cfd1a1dfe8
Make scheduler methods thread-safe
2021-08-17 17:10:53 -07:00
Ken Hibino
c197902dc0
v0.18.3
2021-08-09 08:59:35 -07:00
Ken Hibino
e6355bf3f5
Use approximate memory usage for QueueInfo
2021-08-09 08:58:44 -07:00
Luqqk
95c90a5cb8
Add changelog entry, add additional test case
2021-08-02 20:20:09 -07:00
Ken Hibino
684a7e0c98
v0.18.2
2021-07-15 06:56:53 -07:00
Ken Hibino
46b23d6495
Allow upper case characters in queue name
2021-07-15 06:55:47 -07:00
Ken Hibino
c0ae62499f
v0.18.1
2021-07-04 06:39:54 -07:00
Ken Hibino
7744ade362
Update changelog
2021-07-04 06:38:36 -07:00
Ken Hibino
d02b722d8a
v0.18.0
2021-06-29 16:36:52 -07:00
Ken Hibino
99c7ebeef2
Add migration command in CLI
2021-06-29 16:34:21 -07:00
Ken Hibino
8ee1825e67
Rename Inspector.CancelActiveTask to CancelProcessing
2021-06-29 16:34:21 -07:00
Ken Hibino
96c51fdc23
Update WorkerInfo and remove unnecessary types
2021-06-29 16:34:21 -07:00
Ken Hibino
12f4c7cf6e
Move inspeq package content to asynq package
2021-06-29 16:34:21 -07:00
Ken Hibino
0ec3b55e6b
Replace ArchiveTaskByKey with ArchiveTask in Inspector
2021-06-29 16:34:21 -07:00
Ken Hibino
b835090ad8
Update Client.Enqueue to return TaskInfo
2021-06-29 16:34:21 -07:00
Ken Hibino
9c95c41651
Change Server API
...
* Rename ServerStatus to ServerState internally
* Rename terminate to shutdown internally
* Update Scheduler API to match Server API
2021-06-29 16:34:21 -07:00
Ken Hibino
476812475e
Change payload to byte slice
2021-06-29 16:34:21 -07:00
Ken Hibino
7af3981929
Refactor redis keys and store messages in protobuf
...
Changes:
- Task messages are stored under "asynq:{<qname>}:t:<task_id>" key in redis, value is a HASH type and message are stored under "msg" key in the hash. The hash also stores "deadline", "timeout".
- Redis LIST and ZSET stores task message IDs
- Task messages are serialized using protocol buffer
2021-06-29 16:34:21 -07:00
Ken Hibino
2516c4baba
v0.17.2
2021-06-06 06:51:30 -07:00
Ken Hibino
32d3f329b9
v0.17.1
2021-04-04 12:51:00 -07:00
Ken Hibino
8b997d2fab
v0.17.0
2021-03-24 16:51:59 -07:00
Ken Hibino
aaa3f1d4fd
v0.16.1
2021-03-20 06:27:03 -07:00
Ken Hibino
6a9d9fd717
v0.16.0
2021-03-10 20:39:46 -08:00
Ken Hibino
de28c1ea19
Add Unregister method to Scheduler
2021-03-10 20:38:44 -08:00
Ken Hibino
bc77f6fe14
v0.15.0
2021-01-31 06:11:17 -08:00
Ken Hibino
97b5516183
Update RedisConnOpt interface
2021-01-31 06:09:40 -08:00
Ken Hibino
e13122723a
Move all inspector related code to subpackage inspeq
2021-01-31 06:09:40 -08:00
Ken Hibino
bfde0b6283
Add Retry and LastError fields to inspector tasks
2021-01-31 06:09:40 -08:00
Ken Hibino
afde6a7266
Add MemoryUsage field to QueueStats
2021-01-31 06:09:40 -08:00
Ken Hibino
c9a6ab8ae1
Support delete and archive actions on PendingTask
...
* Add `DeleteAllPendingTasks`, `ArchiveAllPendingTasks` to `Inspector`
* `DeleteTaskByKey` and `ArchiveTaskByKey` now supports deleting/archiving PendingTask
* Updated `asynq task` command with support for deleting/archiving pending tasks
2021-01-31 06:09:40 -08:00
Ken Hibino
2884044e75
v0.14.1
2021-01-19 06:22:54 -08:00
Ken Hibino
42c7ac0746
v0.14.0
2021-01-14 06:49:36 -08:00
Ken Hibino
d331ff055d
Minor doc fixes
2021-01-14 06:43:44 -08:00
Ken Hibino
ccb682853e
Export DefaultRetryDelayFunc
2021-01-14 06:43:44 -08:00
Ken Hibino
7c3ad9e45c
Update CHANGELOG
2021-01-14 06:43:44 -08:00
Ken Hibino
7235041128
Add SkipRetry error to be used as a return value from Handler
2021-01-14 06:43:44 -08:00
Ken Hibino
c5100a9c23
Add a method to list running servers to Inspector
2021-01-14 06:43:44 -08:00
Ken Hibino
f4dd8fe962
Add ListScheduelerEnqueueEvents to Inspector
2021-01-14 06:43:44 -08:00
Ken Hibino
c06e9de97d
Add CancelActiveTask method to Inspector
2021-01-14 06:43:44 -08:00
Ken Hibino
52d536a8f5
Update changelog
2021-01-14 06:43:44 -08:00
Ken Hibino
476862dd7b
v0.13.1
2020-11-22 12:26:52 -08:00
Ken Hibino
dcd873fa2a
fix: Wait for specified time duration before shutdown
2020-11-22 12:25:27 -08:00
Ken Hibino
942345ee80
v0.13.0
2020-10-13 06:33:47 -07:00
Ken Hibino
1f059eeee1
Update docs for periodic tasks feature
2020-10-13 06:31:47 -07:00
Ken Hibino
8312515e64
Update Option interface
...
- Added `String()`, `Type()`, and `Value()` methods to the interface to
aid with debugging and error handling.
2020-10-13 06:31:47 -07:00
Ken Hibino
fadcae76d6
Add String and MarshalJSON methods to Payload type
2020-09-20 07:33:23 -07:00