Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement : market poller on own thread #62

Open
dstevens79 opened this issue Jan 9, 2019 · 3 comments
Open

enhancement : market poller on own thread #62

dstevens79 opened this issue Jan 9, 2019 · 3 comments
Assignees

Comments

@dstevens79
Copy link
Contributor

dstevens79 commented Jan 9, 2019

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
Copy link
Contributor Author

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

@roxlukas
Copy link
Owner

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 roxlukas self-assigned this Jan 12, 2019
@dstevens79
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants