Skip to content

Conversation

@Jarred-Sumner
Copy link
Collaborator

What does this PR do?

The --redis-preconnect CLI flag lets you automatically connect to Redis before your code starts to load, which can improve cold start performance.

How did you verify your code works?

Internally, this is the equivalent of calling Bun.redis.connect() before the entry points load.

@robobun
Copy link
Collaborator

robobun commented Apr 8, 2025

Updated 7:45 AM PT - Apr 8th, 2025

@Jarred-Sumner, your commit 1f5f425 has 2 failures in Build #14653:


🧪   try this PR locally:

bunx bun-pr 18862

@cirospaciari cirospaciari merged commit 5fa1457 into main Apr 8, 2025
67 of 70 checks passed
@cirospaciari cirospaciari deleted the jarred/redis-preconnect branch April 8, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants