cpp-redis / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform
MIT License
713 stars 198 forks source link

Safe to exit before commit finishes? #85

Open dliebner opened 2 years ago

dliebner commented 2 years ago

Is it safe to create a program that calls commit and exits immediately after? Or should sync_commit be used?