Ken Hibino
c43fb21a0a
Minor test updates
2020-09-12 12:59:03 -07:00
Ken Hibino
a293efcdab
Add Close to Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
69d7ec725a
Close redis client after each test run
2020-09-12 12:59:03 -07:00
Ken Hibino
450a9aa1e2
Add MaxRedirects field in RedisClusterClientOpt
2020-09-12 12:59:03 -07:00
Ken Hibino
6e294a7013
Add Username field to RedisConnOpt
2020-09-12 12:59:03 -07:00
Ken Hibino
c26b7469bd
Display cluster info in stats command when --cluster flag is passed
2020-09-12 12:59:03 -07:00
Ken Hibino
818c2d6f35
Add GetQueueName helper to extract queue name from context
2020-09-12 12:59:03 -07:00
Ken Hibino
e09870a08a
Update package documentation
2020-09-12 12:59:03 -07:00
Ken Hibino
ac3d5b126a
Update README
2020-09-12 12:59:03 -07:00
Ken Hibino
29e542e591
Rename Enqueue methods in Inspector to Run
2020-09-12 12:59:03 -07:00
Ken Hibino
a891ce5568
Rename InProgress to Active
2020-09-12 12:59:03 -07:00
Ken Hibino
ebe3c4083f
Rename NextEnqueueAt to NextProcessAt
2020-09-12 12:59:03 -07:00
Ken Hibino
c8c47fcbf0
Rename Enqueued to Pending
2020-09-12 12:59:03 -07:00
Ken Hibino
cca680a7fd
Change Client.Enqueue to take ProcessAt and ProcessIn as Option
2020-09-12 12:59:03 -07:00
Ken Hibino
8076b5ae50
Use different redis db number for rdb package tests
2020-09-12 12:59:03 -07:00
Ken Hibino
a42c174dae
Display cluster keyslot and nodes in queueList command
2020-09-12 12:59:03 -07:00
Ken Hibino
a88325cb96
Add ClusterNodes and ClusterKeySlot in Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
eb739a0258
Fix flaky test
2020-09-12 12:59:03 -07:00
Ken Hibino
a9c31553b8
Add redis-cluster support in asynq CLI
2020-09-12 12:59:03 -07:00
Ken Hibino
dab8295883
Validate queue name in Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
131ac823fd
Return error if queue name is empty when enqueueing
2020-09-12 12:59:03 -07:00
Ken Hibino
4897dba397
Upgrade redis client lib to v7.4.0
2020-09-12 12:59:03 -07:00
Ken Hibino
6b96459881
Add test flags to run tests using redis cluster
2020-09-12 12:59:03 -07:00
Ken Hibino
572eb338d5
Fix flaky ProcessorRetry test
2020-09-12 12:59:03 -07:00
Ken Hibino
27f4027447
Add RedisClusterClientOpt to connect to redis cluster
2020-09-12 12:59:03 -07:00
Ken Hibino
ee1afd12f5
Fix done lua script
...
If UniqueKey is an empty string, do not provide the key to Lua script
because that will cause CROSSSLOT error in redis cluster (since it
doesn't have any hash tag).
2020-09-12 12:59:03 -07:00
Ken Hibino
3ac548e97c
Fix dequeue Lua script to use a single hash tag
2020-09-12 12:59:03 -07:00
Ken Hibino
f38f94b947
Restructure CLI commands with subcommands
2020-09-12 12:59:03 -07:00
Ken Hibino
d6f389e63f
Add Queues method to Inspector
2020-09-12 12:59:03 -07:00
Ken Hibino
118ef27bf2
Update RemoveQueue in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
fad0696828
Fix errors in inspector tests
2020-09-12 12:59:03 -07:00
Ken Hibino
4037b41479
Fix client tests
2020-09-12 12:59:03 -07:00
Ken Hibino
96f23d88cd
Add more processor tests
2020-09-12 12:59:03 -07:00
Ken Hibino
83bdca5220
Fix test build errors
2020-09-12 12:59:03 -07:00
Ken Hibino
2f226dfb84
Update ListServers and ListWorkers methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
3f26122ac0
Fix more build errors
2020-09-12 12:59:03 -07:00
Ken Hibino
2a18181501
Fix inspector build error
2020-09-12 12:59:03 -07:00
Ken Hibino
aa2676bb57
Update Broker interface
2020-09-12 12:59:03 -07:00
Ken Hibino
9348a62691
Update Inspector API
2020-09-12 12:59:03 -07:00
Ken Hibino
f59de9ac56
Update all delete methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
996a6c0ead
Update all kill methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
47e9ba4eba
Update enqueue methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
dbf140a767
Update all list methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
5f82b4b365
Update HistoricalStats method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
44a3d177f0
Update Pause and Unpause methods in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
24b13bd865
Update CurrentStats method in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
d25090c669
Add AllQueues method to RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
b5caefd663
Remove stale benchmark test
2020-09-12 12:59:03 -07:00
Ken Hibino
becd26479b
Update WriteServerState and ClearServerState in RDB
2020-09-12 12:59:03 -07:00
Ken Hibino
4b81b91d3e
Minor fix
2020-09-12 12:59:03 -07:00