2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-06-04 13:53:01 +08:00

Commit Graph

  • eb27b0fe1e Add TaskMessageBuilder type as a test helper Ken Hibino 2022-03-06 16:51:35 -08:00
  • 088be63ee4 Update forwarder to use time.Timer Ken Hibino 2022-03-06 07:46:34 -08:00
  • ed69667e86 Update ForwardIfReady test with group Ken Hibino 2022-03-06 06:04:56 -08:00
  • 4e8885276c Update client to store groupKey under TaskMessage Ken Hibino 2022-03-06 05:53:59 -08:00
  • 401f7fb4fe Add GroupKey field to TaskMessage Ken Hibino 2022-03-06 05:51:27 -08:00
  • 61854ea1dc Update RDB.ForwardIfReady to forward to group if groupKey is specified Ken Hibino 2022-03-06 05:45:33 -08:00
  • f17c157b0f Update Client to add task to group if Group option is specified Ken Hibino 2022-03-05 06:41:44 -08:00
  • 8b582899ad Add RDB.AddToGroup and RDB.AddToGroupUnique methods Ken Hibino 2022-03-05 06:08:43 -08:00
  • e3d2939a4c Add helper functions to generate group key Ken Hibino 2022-03-04 15:01:44 -08:00
  • 2ce71e83b0 Add Group task option Ken Hibino 2022-03-04 11:51:08 -08:00
  • 1608366032 Add group related configuration options Ken Hibino 2022-03-04 11:37:27 -08:00
  • 3f4f0c1daa
    Use explicit types for limit constants ashang 2022-03-29 21:30:10 +08:00
  • f94a65dc9f Add go1.18 to build workflow matrix Ken Hibino 2022-03-22 06:32:15 -07:00
  • 04d7c8c38c
    Add rediss url parsing support Erwan Leboucher 2022-02-24 17:30:55 +01:00
  • c04fd41653 v0.22.1 v0.22.1 Ken Hibino 2022-02-20 06:22:55 -08:00
  • 7e5efb0e30 Drop GT option from RDB.ExtendLease Ken Hibino 2022-02-20 05:40:09 -08:00
  • cabf8d3627 Fix changelog Ken Hibino 2022-02-19 06:21:56 -08:00
  • a19909f5f4 v0.22.0 v0.22.0 Ken Hibino 2022-02-19 06:20:05 -08:00
  • cea5110d15 Add IsOrphaned field to TaskInfo Ken Hibino 2022-02-18 20:50:18 -08:00
  • 9b63e23274 Update log messages Ken Hibino 2022-02-17 06:21:26 -08:00
  • de25201d9f Make timeutil.SimulatedClock concurrency safe Ken Hibino 2022-02-17 05:50:39 -08:00
  • ec560afb01 Fix processor test Ken Hibino 2022-02-16 20:42:08 -08:00
  • d4006894ad Remove base.DeadlinesKey Ken Hibino 2022-02-16 06:27:08 -08:00
  • 59927509d8 Remove timeout and deadline fields under task key Ken Hibino 2022-02-16 06:17:08 -08:00
  • 8211167de2 Update processor to create a lease and watch for expiration Ken Hibino 2022-02-15 06:58:54 -08:00
  • d7169cd445 Update heartbeat to extend lease of active workers Ken Hibino 2022-02-14 07:17:51 -08:00
  • dfae8638e1 Update RDB methods to work with lease Ken Hibino 2022-02-13 14:34:38 -08:00
  • b9943de2ab Add Lease type to base package Ken Hibino 2022-02-13 14:06:26 -08:00
  • 871474f220 Update heartbeat goroutine to call ExtendLease on active tasks Ken Hibino 2022-02-12 09:48:07 -08:00
  • 87dc392c7f Add RDB.ExtendLease method Ken Hibino 2022-02-12 06:49:53 -08:00
  • dabcb120d5 Update recoverer to use ListLeaseExpired Ken Hibino 2022-02-11 06:18:27 -08:00
  • bc2f1986d7 Update ListDeadlineExceeded to ListLeaseExpired Ken Hibino 2022-02-11 05:54:56 -08:00
  • b8cb579407 Update RDB methods to use lease instead of deadlines set Ken Hibino 2022-02-10 19:01:05 -08:00
  • bca624792c Move task deadline compute logic to processor Ken Hibino 2022-02-09 06:21:39 -08:00
  • d865d89900 Update RDB.Dequeue to insert task ID to lease set Ken Hibino 2022-02-08 06:47:31 -08:00
  • 852af7abd1 Add base.LeaseKey helper function Ken Hibino 2022-02-08 05:53:42 -08:00
  • 5490d2c625 Fix tests Ken Hibino 2022-02-16 06:51:09 -08:00
  • ebd7a32c0f conventions Binaek Sarkar 2022-02-10 15:26:34 +05:30
  • 55d0610a03 test and changelog Binaek Sarkar 2022-01-29 15:32:52 +05:30
  • ab8a4f5b1e review corrections Binaek Sarkar 2022-01-28 21:21:34 +05:30
  • d7ceb0c090 first cut Binaek Sarkar 2022-01-25 14:42:02 +05:30
  • 8bd70c6f84 (ci): Run go (build|test) commands for each module Ken Hibino 2022-02-01 06:32:26 -08:00
  • 10ab4e3745 Remove replace directives in go.mod Ken Hibino 2022-01-31 20:01:33 -08:00
  • 349f4c50fb Add example for ResultWriter Ken Hibino 2022-01-31 07:03:39 -08:00
  • dff2e3a336 v0.21.0 v0.21.0 Ken Hibino 2022-01-22 06:15:29 -08:00
  • 65040af7b5 Update changelog Ken Hibino 2022-01-22 06:14:24 -08:00
  • 053fe2d1ee Create PeriodicTaskManager Ken Hibino 2022-01-15 16:46:12 -08:00
  • 25832e5e95
    Fix bug related to concurrently executing server state changes Ken Hibino 2022-01-12 09:10:56 -08:00
  • aa26f3819e
    Fix flaky tests Ken Hibino 2022-01-05 09:07:42 -08:00
  • d94614bb9b
    Add CODE_OF_CONDUCT.md Ken Hibino 2022-01-04 06:17:48 -08:00
  • ce46b07652
    Allow configuration of DelayedTaskCheckInterval Mahdi Dibaiee 2022-01-03 22:44:00 +00:00
  • 2d0170541c
    Add --json flag for asynq stats command Mahdi Dibaiee 2022-01-02 15:24:29 +00:00
  • c1f08106da
    fix: missing import statement in example code Andreas Thomas 2021-12-27 14:40:10 +01:00
  • 74cf804197
    Update readme Ken Hibino 2021-12-20 05:51:51 -08:00
  • 8dfabfccb3 Fix build Ken Hibino 2021-12-19 07:06:37 -08:00
  • 5f20edcbd1 v0.20.0 v0.20.0 Ken Hibino 2021-12-19 07:00:21 -08:00
  • 1ddb2f7bce Use math.MaxInt64 instead of custom const Ken Hibino 2021-12-19 06:58:12 -08:00
  • 82d18e3d91
    Record total tasks processed/failed Ken Hibino 2021-12-16 16:53:02 -08:00
  • 43cb4ddf19
    Add queue metrics exporter Ken Hibino 2021-12-16 06:01:01 -08:00
  • ddfc6747a1 Fix typo in Server doc Francisco Miamoto 2021-12-13 15:39:42 -03:00
  • 970cb7a606 v0.19.1 v0.19.1 Ken Hibino 2021-12-12 06:16:13 -08:00
  • 157e97e72e Update changelog Ken Hibino 2021-12-11 06:44:01 -08:00
  • 22e6c9d297 Delete "pending_since" under task-key when state changes to active Ken Hibino 2021-12-11 06:42:47 -08:00
  • 99a6750656 Add Latency field to QueueInfo Ken Hibino 2021-12-11 06:27:44 -08:00
  • e7c1c3ad6f Use clock in RDB Ken Hibino 2021-12-10 09:07:41 -08:00
  • c9183374c5 Add internal timeutil package Ken Hibino 2021-12-10 06:47:16 -08:00
  • 6e7106c8f2 Record time when task moved to pending state Ken Hibino 2021-12-09 06:37:18 -08:00
  • 9f2c321e98
    Add EnqueueContext method to Client Ken Hibino 2021-11-15 16:34:26 -08:00
  • e2b61c9056 Return error if Unique TTL is less than 1s Ken Hibino 2021-11-09 15:53:48 -08:00
  • 531d1ef089 Fix godoc around errors returned from Inspector Ken Hibino 2021-11-09 15:43:04 -08:00
  • 413afc2ab6 v0.19.0 v0.19.0 Ken Hibino 2021-11-06 15:20:09 -07:00
  • 6bb4818509 Update readme Ken Hibino 2021-11-06 06:38:36 -07:00
  • f4ddac4dcc Introduce Task Results Ken Hibino 2021-11-05 16:52:54 -07:00
  • 4638405cbd Fix flaky test Ken Hibino 2021-09-12 16:56:22 -07:00
  • 9e2f88c00d Add TaskID option to allow user to specify task id Ken Hibino 2021-09-11 21:11:04 -07:00
  • dbdd9c6d5f Update RDB Enqueue and Schedule methods to check for task ID conflict Ken Hibino 2021-09-10 16:47:00 -07:00
  • 2261c7c9a0 Change TaskMessage.ID type from uuid.UUID to string Ken Hibino 2021-09-10 06:29:37 -07:00
  • 83cae4bb24 Update NewTask function to take Option as varargs Ken Hibino 2021-09-10 05:56:17 -07:00
  • 23c522dc9f
    Add asynq/x/rate package Ajat Prabha 2021-11-04 04:25:23 +05:30
  • 0d2c0f612b
    Add FUNDING.yml Ken Hibino 2021-10-03 09:25:35 -07:00
  • d612a8a9e4 v0.18.6 v0.18.6 Ken Hibino 2021-10-03 05:55:49 -07:00
  • b3ef9e91a9
    Upgrade go-redis/redis to version 8 Jason White 2021-09-02 08:56:02 -04:00
  • 05534c6f24 v0.18.5 v0.18.5 Ken Hibino 2021-09-01 06:02:49 -07:00
  • f0db219f6a
    Add IsFailure to Config Ken Hibino 2021-09-01 06:00:54 -07:00
  • 3ae0e7f528
    Fix readme Mehran Poursadeghi 2021-08-28 02:17:03 +04:30
  • 421dc584ff v0.18.4 v0.18.4 Ken Hibino 2021-08-17 17:12:33 -07:00
  • cfd1a1dfe8 Make scheduler methods thread-safe Ken Hibino 2021-08-16 20:22:43 -07:00
  • c197902dc0 v0.18.3 v0.18.3 Ken Hibino 2021-08-09 08:59:35 -07:00
  • e6355bf3f5 Use approximate memory usage for QueueInfo Ken Hibino 2021-08-09 06:09:10 -07:00
  • 95c90a5cb8 Add changelog entry, add additional test case Luqqk 2021-08-03 00:11:49 +02:00
  • 6817af366a Adjust error message, use TrimSpace for more robust empty typename check Luqqk 2021-08-02 01:23:58 +02:00
  • 4bce28d677 client.Enqueue - prevent empty task's typename Luqqk 2021-08-01 16:24:45 +02:00
  • 73f930313c Fixes links Pedro Henrique 2021-07-29 11:20:51 -03:00
  • bff2a05d59 Fix examples in readme Ken Hibino 2021-07-18 09:24:57 -07:00
  • 684a7e0c98 v0.18.2 v0.18.2 Ken Hibino 2021-07-15 06:56:53 -07:00
  • 46b23d6495 Allow upper case characters in queue name Ken Hibino 2021-07-15 06:12:13 -07:00
  • c0ae62499f v0.18.1 v0.18.1 Ken Hibino 2021-07-04 06:39:54 -07:00
  • 7744ade362 Update changelog Ken Hibino 2021-07-04 06:24:44 -07:00
  • f532c95394 Update recoverer to recover tasks on server startup Ken Hibino 2021-07-04 06:21:56 -07:00
  • ff6768f9bb Fix recoverer to run task recovering logic every minute Ken Hibino 2021-07-04 06:20:36 -07:00