hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
206 stars 264 forks source link

[Improvement]: Implement Connection Logic to Redis for Background Queue #1493

Open Olasam-web opened 3 months ago

Olasam-web commented 3 months ago

Description

Implement the logic needed to establish a connection to the Redis instance, which will now serve as the backend for the background queue.

Acceptance Criteria

  1. Write the necessary code to connect to the Redis instance using the updated configuration settings.
  2. Ensure proper error handling for connection failures, with at least one retry attempt.
  3. Verify that the application can successfully connect to Redis during initialization.

Links

| FIGMA LINK

Images

image

Olasam-web commented 3 months ago

Please test connection handling thoroughly to ensure reliability.