embedded-redis
embedded-redis copied to clipboard
Further documentation to tell user not configure logfile
Today, I'm get stucks when starting application (Spring Boot) when trying to configure logfile
option (I know this project not intent to be run in production system. But I think that it realiable enough to act as a cache store).
When log redirected to file, application will wait forever. So please document that to make easy of use.
Thanks!
I also bumped into the same problem. I configured logfile
and the application was stuck.
@loyalsound , could you help me out why it is not advised to use this in production?
I guess the problem is with awaitRedisServerReady();
in the AbstractRedisInstance.java file. When the output is redirected to a logfile, the library is still trying to read the redis start pattern from the input stream which is empty and it waits forever.
I have a naive fix for this issue. Please find it here. Based on the feedback I can work on it further.