Tonexus / poe-scambot

A tool meant to quickly and efficiently search for items in Path of Exile via the stash tab API.
43 stars 8 forks source link

Parser slows down #11

Open PastaAdventures opened 7 years ago

PastaAdventures commented 7 years ago

Yeah I realize its a bit of a vague issue but the parser occasionally slows down from 3 to about 1 parse a second. This means when I change something in my sell tab and leave the area to update the api, it takes ~30 second for it to show up in scambot. Now I've been monitoring the network usage of the program and that has remained the same and a fresh restart and reinstall means hardware shouldn't be at fault. I'm just confused...

Tonexus commented 7 years ago

Hmm I've gotten similar reports several times. I will look into this.

However, note that if you modify the same tab multiple times, the first change will be updated to the API very quickly, but subsequent changes will only appear some time later. My guess is that GGG is "waiting" for you to be done modifying your tab to update the stream so it doesn't get spammed if someone is just moving 1 item back and forth between inventory and stash.

Tonexus commented 6 years ago

On further inspection, this seems to be a problem with using python's threading instead of multiprocessing, so I will likely change to multiprocessing in the next version.