IDinsight / ask-a-question

Trustworthy question-answering AI plugin for chatbots in the social sector with advanced content performance analysis.
https://ask-a-question.com
BSD 3-Clause "New" or "Revised" License
28 stars 4 forks source link

Make redis optional and compatible with redis 5 #427

Closed lickem22 closed 1 month ago

lickem22 commented 2 months ago

Reviewer: @amiraliemami Estimate: 20mins


Ticket

Fixes: [HOTFIX] Make redis compatible with redis 5 and make api limit checks optional

Description

Goal

Redis 5 is not compatible with the option: keepttl. This fix removes the use of keepttl to make it compatible. This PR also makes api limit optional.

Changes

How has this been tested?

Checklist

Fill with x for completed.

(Delete any items below that are not relevant)