Skip to content

Commit 29d2777

Browse files
authored
Update redis.go
1 parent 4a88ab1 commit 29d2777

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backend/redis/redis.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ func NewRedisBackend(address, username, password string, db int, opts ...RedisBa
4343
DB: db,
4444
})
4545

46-
// // // TODO: Only for dev
47-
if err := client.FlushDB(context.Background()).Err(); err != nil {
48-
panic(err)
49-
}
50-
5146
workflowQueue, err := taskqueue.New[workflowTaskData](client, "workflows")
5247
if err != nil {
5348
return nil, errors.Wrap(err, "could not create workflow task queue")

0 commit comments

Comments
 (0)