RichardKnop / machinery

Machinery is an asynchronous task queue/job queue based on distributed message passing.
Mozilla Public License 2.0
7.52k stars 914 forks source link

Fixup Redis lock context compilation error #804

Open agcom opened 6 months ago

agcom commented 6 months ago

The go-redis v9 removed the .Context() method on its client; the v1 package was updated accordingly in #793, but the v2 package was left out which this PR fixes. Also, see #803 to follow-up on what context should be used.