mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #298] [MERGED] Upgrade go-redis/redis to version 8 #704
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#704
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/298
Author: @strobus
Created: 7/20/2021
Status: ✅ Merged
Merged: 9/2/2021
Merged by: @hibiken
Base:
master← Head:upgrade-go-redis-to-v8📝 Commits (8)
afd3506upgrade go-redis/redis to version 878e23f1added loglevel flag back; inadvertently deletedc2552b2Revert "added loglevel flag back; inadvertently deleted"3433315Revert "upgrade go-redis/redis to version 8"0f32acaupgrade go-redis/redis to v8626e626use new context at call point instead of global context variable39a9689rename ctx2 to ctx4488a5dmerge from master📊 Changes
24 files changed (+331 additions, -304 deletions)
View changed files
📝
asynq.go(+1 -1)📝
asynq_test.go(+1 -1)📝
client.go(+1 -1)📝
client_test.go(+4 -3)📝
go.mod(+7 -5)📝
go.sum(+57 -33)📝
inspector.go(+1 -1)📝
inspector_test.go(+8 -7)📝
internal/asynqtest/asynqtest.go(+26 -25)📝
internal/base/base.go(+1 -1)📝
internal/rdb/inspect.go(+41 -40)📝
internal/rdb/inspect_test.go(+16 -15)📝
internal/rdb/rdb.go(+24 -23)📝
internal/rdb/rdb_test.go(+60 -59)📝
internal/testbroker/testbroker.go(+1 -1)📝
processor_test.go(+5 -5)📝
scheduler.go(+1 -1)📝
server.go(+1 -1)📝
server_test.go(+2 -2)📝
subscriber.go(+1 -1)...and 4 more files
📄 Description
This PR upgrade the
go-redis/redis/v7dependency togo-redis/redis/v8. The major change between the two versions is that all methods that interact with the redis server have acontext.Contextparameter added. These context parameters have been surfaced up to the exportedasynqinterfaces.Edit: resolves issue https://github.com/hibiken/asynq/issues/293
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.