Skip to content

Conversation

@ramonsmits
Copy link
Member

@ramonsmits ramonsmits commented Jan 15, 2024

Defer creation of DocumentStore so that Initialize returns faster and the process not be killed by Windows Service Control Manager because the service takes over 25 seconds to start.

Its using .GetAwaiter().GetResult(); which isn't really nice. Could be refactored so that most APIs are converted from async to sync. Will have the Initialize still be async.

… and the process not be killed by Windows Service Control Manager because the service takes over 25 seconds to start.
@ramonsmits ramonsmits self-assigned this Jan 15, 2024
@ramonsmits ramonsmits changed the base branch from master to release-5.0 January 15, 2024 12:23
@ramonsmits
Copy link
Member Author

@ramonsmits ramonsmits closed this Jan 16, 2024
@mauroservienti mauroservienti deleted the defer-documentstore-creation branch March 28, 2024 06:50
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