amankhoza / betfair-machine-learning

A collection of python scripts to collect, clean and visualise odds for football matches from Betfair, as well as perform machine learning on the collected odds.
29 stars 13 forks source link

Recover from death of keep session alive thread #12

Closed amankhoza closed 7 years ago

amankhoza commented 7 years ago

When the keep session alive thread unexpectedly ends, the main thread will eventually throw an invalid session information error. This occurs after the session timesout, which is around 4 hours after the last keep session alive call is made.