Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immediately reconnect when called on with closed socket. #174

Closed

Commits on Sep 28, 2015

  1. Merge branch 'dev'

    ptaoussanis committed Sep 28, 2015
    Configuration menu
    Copy the full SHA
    fcf62c2 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2015

  1. Immediately reconnect when called on with closed socket.

    This makes chsk-reconnect!, when called on a closed socket,
    attempt to connect immediately. It retains the original behaviour
    of incrementing the backoff.
    
    There is one issue with this at present, which is that it can cause
    multiple sockets to be opened (if chsk-reconnect! is used repeatedly,
    or if the timer fires at exactly the same time, probably.)
    
    Considering adding a mutex "connecting?" to the state atom, but wanted
    to check that was sane first.
    lfn3 committed Oct 18, 2015
    Configuration menu
    Copy the full SHA
    f8ad70e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4515d1 View commit details
    Browse the repository at this point in the history