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

Use DirectDispatcher for logging #619

Merged
merged 11 commits into from
Jan 10, 2024

Conversation

viktorerlingsson
Copy link
Member

@viktorerlingsson viktorerlingsson commented Dec 21, 2023

WHAT is this pull request doing?

Sets up DirectDispatcher for logging so we always log directly, without manually having to yield Fibers.

Also adds more logging to the startup procedure, making it more verbose.

Relates to the bug that was fixed in #565

https://trello.com/c/FUxNAzYu/402-no-logs-during-startup

HOW can this pull request be tested?

Manual for now

@viktorerlingsson viktorerlingsson changed the title Fiber.yield after every 5th unused segment deleted Better logging during startup Dec 28, 2023
@viktorerlingsson viktorerlingsson changed the title Better logging during startup More logging during startup Dec 28, 2023
src/lavinmq/queue/message_store.cr Outdated Show resolved Hide resolved
src/lavinmq/queue/message_store.cr Outdated Show resolved Hide resolved
src/lavinmq/queue/message_store.cr Outdated Show resolved Hide resolved
src/lavinmq/queue/message_store.cr Outdated Show resolved Hide resolved
@viktorerlingsson viktorerlingsson changed the title More logging during startup Use DirectDispatcher for logging Jan 9, 2024
@viktorerlingsson viktorerlingsson force-pushed the yield_during_delete_unused_segments branch from 7915f9d to ae21364 Compare January 10, 2024 10:36
@viktorerlingsson viktorerlingsson merged commit 8100a99 into main Jan 10, 2024
16 of 20 checks passed
@viktorerlingsson viktorerlingsson deleted the yield_during_delete_unused_segments branch January 10, 2024 10:40
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.

3 participants