Redis FAQ処理
1507 ワード
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
処理方法:実行:
redis-cli config set stop-writes-on-bgsave-error no
Jedisエラー
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
処理方法:コンストラクション関数はタイムアウト時間を設定できます.関数のプロトタイプは次のとおりです.
public Jedis(final String host, final int port, final int timeout)