Comments (1)
Here the sleep
is blocking IO from eventmachine from working, so would not be possible to send pong back to server when it pings the client. You could use an EM periodic timer instead or alternatively try the threaded version of the client where this type of usage would work http://github.com/nats-io/pure-ruby-nats
from nats.rb.
Related Issues (20)
- support custom certs in TLS HOT 1
- SRV record support HOT 2
- correctly handling retries HOT 5
- timing issue around @pending queue HOT 4
- unneeded dependencies HOT 4
- Further concurrency related corruption in @pending HOT 3
- Support for NATS Streaming HOT 6
- allow discovery of servers to be disabled HOT 6
- undefined method `<<' for nil:NilClass HOT 2
- Replied data might be lost in request-reply processing. HOT 2
- update eventmachine HOT 1
- Compiled binary? HOT 2
- Endless loop - EM release machine -> unbind -> reconnect HOT 5
- Ruby NATS client doesn't verify hostname when connecting over TLS HOT 2
- TLS Peer verification: `ssl_verify_peer` does not support multiple CAs HOT 9
- TLS connection error `oversize record received` HOT 9
- Fix IPv6 address being sent to `gethostname` still containing []'s
- does not resend auto unsubscribe with updated value
- Support NATS JetStream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nats.rb.