lmeve icon indicating copy to clipboard operation
lmeve copied to clipboard

enhancement : market poller on own thread

Open dstevens79 opened this issue 6 years ago • 3 comments

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 avatar Jan 09 '19 23:01 dstevens79

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

dstevens79 avatar Jan 11 '19 20:01 dstevens79

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.

roxlukas avatar Jan 12 '19 08:01 roxlukas

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

dstevens79 avatar Jan 13 '19 04:01 dstevens79