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

Fix GUI MN list: filter cooldown + performance boost by fixing date strings #927

Merged
merged 1 commit into from
Aug 5, 2016
Merged

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Aug 2, 2016

To prevent high cpu usage we should update list only once in MASTERNODELIST_UPDATE_SECONDS seconds or MASTERNODELIST_FILTER_COOLDOWN_SECONDS seconds after filter was last changed. Also changing date/time format - QDateTime ToString() is way to slow for a list of thousands items, using DateTimeStrFormat instead. UI should work much smoother on mainnet now.

…ECONDS seconds or MASTERNODELIST_FILTER_COOLDOWN_SECONDS seconds after filter was last changed. Also changing date/time format - QDateTime ToString() is way to slow for a list of thousands items, using DateTimeStrFormat instead. UI should work much smoother on mainnet now.
@schinzelh
Copy link

utACK 2b1c567

@schinzelh schinzelh merged commit 08703ce into dashpay:v0.12.1.x Aug 5, 2016
@UdjinM6 UdjinM6 deleted the fixGuiMnList branch August 28, 2016 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants