nexus-devs / NexusHub

📈 Warframe and WoW Classic Economy Analytics
https://nexushub.co
Other
92 stars 10 forks source link

Websocket publish/subscribe sometimes doesn't work #307

Open Nakroma opened 5 years ago

Nakroma commented 5 years ago

I'm submitting a...


Current behavior

Sometimes, over a longer period of time, the cubic-client subscription to an endpoint stops, then starts working again. This is not an issue with the NexusHub API directly, as the this.publish function gets called correctly. Not sure if it's a websocket or cubic-client issue.


Expected behavior

The cubic-client subscription keeps receiving data.


Minimal reproduction of the problem

Hard, basically wait for the bot in discord trade_chat to stop posting the tradechat.


Environment

Browser:

For development issues:

Additional Description

Nakroma commented 4 years ago

may be linked to the memleak