SpiderStrategies / node-tweet-stream

Node twitter module to hook into the public filter streaming, seamlessly updating the tracking keywords.
210 stars 43 forks source link

untrack to track time limits? #51

Closed m0atz closed 7 years ago

m0atz commented 7 years ago

I'm dynamically adding items to tw.track and then when finished removing them using tw.untrack. Sometimes I have the need to soon after re-track the item, but when I do I find the results are duplicated, as if two tracks for the same search term exist. Is there a time delay needed before a string can be re-tracked?

m0atz commented 7 years ago

actually i believe this issue is related to the memory leak issue, as i get this warning as soon as duplicates start to be received:

(node:57528) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit