poe-scambot icon indicating copy to clipboard operation
poe-scambot copied to clipboard

Parser slows down

Open PastaAdventures opened this issue 7 years ago • 2 comments

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...

PastaAdventures avatar Aug 15 '17 19:08 PastaAdventures

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 avatar Aug 16 '17 05:08 Tonexus

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.

Tonexus avatar Sep 30 '17 00:09 Tonexus