Skip to content

How to reconnect redis-server when socket is closed? #16

@hozumi

Description

@hozumi

Hi, I'm using Clojure-1.2 branch to use connection pool. It seems that connection is closed after 5 minutes from last access. Then I get following error "java.net.SocketException: Socket is closed".
I use with-server macro in the same way as 1.0.4.
I want to know how to reconnect redis-server.
Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions