You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set connection::config::enable_reconnect = false (if not already set)
Send a QUIT command.
This will cause sync::run() to return. Otherwise, you may have an io_context::run() that is not returning, in this case you have to stop giving him further work, in extreme cases you can also call io_context::stop(). For an example see https://github.com/mzimbres/aedis/blob/master/examples/intro_sync.cpp.
Notice Aedis 1.0.0 was release yesterday and all synchronous functions are now part of the sync class. There were also a fixe of a bug that prevented proper reconnection. See the changelog for more info https://mzimbres.github.io/aedis/md_CHANGELOG.html
How to exit gracefully in synchronous mode
The text was updated successfully, but these errors were encountered: