roxlukas / lmeve

LMeve - industry manager and contribution tracker for EVE Online
https://pozniak.pl/wp/
Other
52 stars 13 forks source link

enhancement : market poller on own thread #62

Open dstevens79 opened 5 years ago

dstevens79 commented 5 years ago

polling for a large number of market item values (~2000) can take a significant amount of time - more time than all other operations combined resulting in polling times in excess of 2900 seconds

separating the marketing section of the poller into its own php to tack into cron or a second poller thread that runs parallel to the existing poller for just market orders would alleviate this

dstevens79 commented 5 years ago

maybe extend the cache timer for the market items relevant to the number of items selected to look for?

roxlukas commented 5 years ago

I was thinking about adding "modulo 4" operator, so 1/4 of all prices would be polled every cycle. But I think separate thread would indeed be a better solution, because it would not require any changes in existing installation after update.

dstevens79 commented 5 years ago

maybe a means in the site under settings to trigger a polling manually? or set the intended intervals for polling of either poller?