GithubHelp home page GithubHelp logo

juanmcuello / garufa Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 10.0 139 KB

A websocket server compatible with the Pusher protocol.

License: MIT License

Ruby 100.00%
goliath pusher ruby slanger websocket

garufa's People

Contributors

juanmcuello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

garufa's Issues

Error occurs when notifying and subscribing to a channel at the same time

Ruby sets do not allow adding new keys during iteration. If Garufa is notifying each subscription to a channel while a new subscription to that channel is received, it will raise an exception, because an iteration over each channel subscription is in progress.

.rbenv/versions/2.1.2/lib/ruby/2.1.0/set.rb:270:in `add': can't add a new key into hash during iteration (RuntimeError)
        from garufa/lib/garufa/subscriptions.rb:14:in `add'
        from garufa/lib/garufa/subscription.rb:24:in `subscribe'

Launch error

When I tried to launch garufa, I encountered the error in the attached. Please kindly help.

g

Config File

Hi

The help mentions being able to use a config file, but there's no documentation on the accepted options for this.

Could you give some guidance? I was hoping to use it sock all options used on the command line.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.