AlgoTrader / betfair

Betfair API-NG library for node.js
96 stars 46 forks source link

Sess timeout? #4

Open jvolhejn opened 10 years ago

jvolhejn commented 10 years ago

It seems, that when there are more than 60s from the last invocation, the new invocation doesn't return. Another invocation is ok again, if it comes soon.

Maybe I missed something - is there some keep alive logic I should use?

AlgoTrader commented 10 years ago

Can you please tell me the lib version?

2014/1/12 jvolhejn notifications@github.com

It seems, that when there are more than 60s from the last invocation, the new invocation doesn't return. Another invocation is ok again, if it comes soon.

Maybe I missed something - is there some keep alive logic I should use?

— Reply to this email directly or view it on GitHubhttps://github.com/AlgoTrader/betfair/issues/4 .

AlgoTrader commented 10 years ago

I got it. I switched to agentkeepalive lib and it seems to be buggy. It really go crazy when two calls go with interval higher than keepAlive timeout

andy15703166 commented 10 years ago

npm ERR! Error: failed to fetch from registry: betfair how to do?