question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A more robust way to gather facts from nodes

See original GitHub issue

I have a local setup with Redis and some application nodes. I have another redis client that is snooping on the channels that the adapter is using.

Whenever I’m snooping I get this error:

Error: timeout reached while waiting for sockets response

I looked into it and this error is because while snooping request.numSub > request.msgCount since my other client is just a spy. It would be nice if observing the channel didn’t break the functionality. Perhaps there could be a way to count participant subs only. https://github.com/socketio/socket.io-redis-adapter/blob/3242d8e91baf94720df256ab422ec5c037f6a9e1/lib/index.ts#L380-L386

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
darrachequesnecommented, May 17, 2021

Perhaps there could be a way to count participant subs only.

I’m open to suggestions on this!

0reactions
doodlesbykumbicommented, May 24, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

ansible.builtin.gather_facts module – Gathers facts about ...
This module is automatically called by playbooks to gather useful variables about remote hosts that can be used in playbooks. It can also...
Read more >
A New Connection Between Node and Edge Depth Robust ...
12th Innovations in Theoretical Computer Science Conference (ITCS 2021)http://itcs-conf.org/A New Connection Between Node and Edge Depth ...
Read more >
Using Puppet Trusted Facts Part 2: Improving Security
In Part 2 of this series on Puppet facts, we examine how to use Puppet trusted facts to create higher levels of security...
Read more >
How can I gather facts from Satellite hosts that don't have ...
How can I gather facts if I don't deploy Puppet agent to the Satellite ... unlimited access to our knowledgebase, tools, and much...
Read more >
Language: Facts and built-in variables - Puppet
Normal facts are self-reported by the node, and nothing guarantees their accuracy. Trusted facts are extracted from the node's certificate, which can prove...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found