ntwitter icon indicating copy to clipboard operation
ntwitter copied to clipboard

Refresh the track list of a stream

Open dsalcedo opened this issue 10 years ago • 3 comments

How can I refreh a stream params to track more hashtag without relaunch my server ? I have a database wich provides me the track list, and when a new hashtag to track is iserted, how can I refresh the stream track list ?

dsalcedo avatar May 07 '14 18:05 dsalcedo

??? :c

dsalcedo avatar May 30 '14 19:05 dsalcedo

I would pass the tracking list as an array and every time you can manipulate the array (push something new or find and remove an item) so you can kill the streaming and start it again without restarting your entire app.

maziyarpanahi avatar Jan 18 '15 21:01 maziyarpanahi

@maziyarpanahi when you say kill the stream, do you mean calling stream.destroy()? Lately this seems to be causing issues for me. I think there may be a new protocol for terminating/restarting streams?

bradroc avatar Feb 25 '15 23:02 bradroc