2
0
mirror of https://github.com/hibiken/asynq.git synced 2026-05-20 21:42:37 +08:00

chore: Update redis to v9 in x/go.mod (#795)

Squashed commit of the following:

commit 6e3656db222a3f9347ee4806ef065a1b9b01a214
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date:   Thu Dec 7 11:12:41 2023 +0300

    pkg(x): go version update -> 1.20

commit 2931df3708
Author: Amaury <1293565+amaury1729@users.noreply.github.com>
Date:   Wed Dec 6 17:47:03 2023 +0100

    fix tests

commit 11227804cb
Author: Amaury <1293565+amaury1729@users.noreply.github.com>
Date:   Wed Dec 6 16:40:32 2023 +0100

    chore: Update redis to v9 in x/go.mod
This commit is contained in:
Mohammed Sohail
2023-12-07 11:14:35 +03:00
committed by Ken Hibino
parent 90188a093d
commit 1ec90810db
4 changed files with 74 additions and 119 deletions

View File

@@ -7,9 +7,9 @@ import (
"strings"
"time"
"github.com/go-redis/redis/v8"
"github.com/hibiken/asynq"
asynqcontext "github.com/hibiken/asynq/internal/context"
"github.com/redis/go-redis/v9"
)
// NewSemaphore creates a counting Semaphore for the given scope with the given number of tokens.