lmeve
lmeve copied to clipboard
enhancement : market poller on own thread
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
maybe extend the cache timer for the market items relevant to the number of items selected to look for?
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.
maybe a means in the site under settings to trigger a polling manually? or set the intended intervals for polling of either poller?