Skip to content

Commit

Permalink
fix: resolve ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Feb 8, 2025
1 parent 5c5d3a0 commit 99bd14f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/config/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const jobsConfig = defineConfig({
host: env.get('REDIS_HOST', 'localhost'),
port: env.get('REDIS_PORT', 6379),
password: env.get('REDIS_PASSWORD'),
family: 0,
},

queue: env.get('REDIS_QUEUE', 'default'),
Expand Down
2 changes: 2 additions & 0 deletions website/config/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const redisConfig = defineConfig({
port: env.get('REDIS_PORT'),
password: env.get('REDIS_PASSWORD', ''),
db: 0,
family: 0,
keyPrefix: '',
retryStrategy(times) {
return times > 10 ? null : times * 50
Expand All @@ -32,6 +33,7 @@ const redisConfig = defineConfig({
port: env.get('REDIS_PORT'),
password: env.get('REDIS_PASSWORD', ''),
db: 1,
family: 0,
retryStrategy(times) {
return times > 10 ? null : times * 50
},
Expand Down

0 comments on commit 99bd14f

Please sign in to comment.