allyourbot / hostedgpt

An open version of ChatGPT you can host anywhere or run locally.
MIT License
192 stars 75 forks source link

No longer use Redis to help with cancelled jobs #324

Closed krschacht closed 1 week ago

krschacht commented 1 week ago

I want to make Redis an optional requirement in the app so this PR eliminates one of it's uses: cancelling streaming messages. I used Redis keys to make the polling a bit more efficient but it should be fine to just use the DB for now. This was a premature optimization.