Closed Luft21 closed 4 years ago
I just found out in your ~/src/api/models/yolo.js , that every create_bet() method the code will try to "await this.connect(req.session.apiKey);" and when I delete it the bet run faster than before.
but, there is an error ("Memory Leak: setMaxListener"). so, i think it causes by the "await this.connect(req.session.apiKey);" i deleted before. so can you update it to setMaxListener to 101 and refresh listener every 100 API call maybe? so, the betspeed will not slow.
P.S: resetseed helps refresh listener too
@mydicebot
also, i can't use resetseed() in my script for console app. so, i add little code in betfunc() loop.
please fix.. @mydicebot
even when i bet with higher basebet, the bet speed still slow. Can you make it faster?