nalgeon / redka

Redis re-implemented with SQLite
BSD 3-Clause "New" or "Revised" License
3.39k stars 92 forks source link

Quit Command not working #36

Closed r-4981 closed 2 hours ago

r-4981 commented 2 hours ago

literal as a title. It makes many error and exception. Even if the connection is being disconnected internally and automatically, at the very least we need Quit as an interface.

nalgeon commented 2 hours ago

I don't think there is a need for the quit command. When using a Redis client library, the connection management is done automatically. When using the Redka Go API, the connection is closed by calling the DB.Close() method.

See also the Redis documentation:

As of Redis version 7.2.0, this command is regarded as deprecated. It can be replaced by just closing the connection when migrating or writing new code.