gresrun / jesque

An implementation of Resque in Java.
http://gresrun.github.io/jesque
Apache License 2.0
628 stars 131 forks source link

fix detection of redis loading the dataset #171

Closed bp-FLN closed 2 years ago

bp-FLN commented 4 years ago

we just discovered that the reconnect implemented in #149 does not work properly: the exception message has a \r\n at the end. so calling equals always returns false and hence the workers will terminate. the fix is to call startsWith instead.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 70.823% when pulling 8fe0606aae9f80248c49ab65369812f4923a14e7 on uberall:fix-loading-dataset-message into b55a7c821534faf0083881974e566bc4bc588e11 on gresrun:master.