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

vspd: Polish startup process #407

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

jholdstock
Copy link
Member

@jholdstock jholdstock commented Aug 19, 2023

Couple of minor changes to tidy up the vspd start up process.

Only attach the dcrd notification listener after all other startup tasks
have been completed.

Attaching the listener before this can result in the notification
handler being invoked whilst startup tasks are still running, which
isn't necessarily a problem, but it is unnecessary and makes a mess of
logging.
Creating these closer to where they are needed tidies things up a bit,
and reduces the chance of them being used unnecessarily (as was being
done previously).
@jholdstock jholdstock changed the title vspd: Listen for dcrd notifs after startup. vspd: Polish startup process Aug 19, 2023
@jholdstock jholdstock merged commit 350a3f5 into decred:master Aug 21, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants