-
Notifications
You must be signed in to change notification settings - Fork 44
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 mirai for Async Appender #215
Conversation
This works for me interactively, but the tests fail, so if this is of interest, I'll have to explore further.
What... |
I've fixed in shikokuchuo/mirai@f68afca. If you can come back in a day's time, I'll add a commit that modifies the min version req. for mirai once I've released it. |
Thank you so much!! 🙌 |
Should be all set now. |
Increasing the sleep time just a little makes the coverage test pass for me locally. |
oh, thanks a ton, I was not able to repro the error locally |
hmmm let me widen it to 1s |
fantastic, thanks a ton for this update and all the related small fixes 🙇 |
Thanks to @hadley who figured it out. I just tidied up his PR. |
Thanks for pointing me to this @daroczig!
Rebases and adds a commit to @hadley's #208 with more efficiency in the setup.
It also maps the logger namespace to mirai's 'compute profile', basically the same concept.
This checks fine for me. The snapshot test error seems unrelated (I'm also getting this locally running off main).
One thing to note is that the background process isn't terminated. This is not a problem in real life as it will automatically terminate when the main session ends, but you should be aware if attempting to test on CRAN for instance. You'd need to add a
daemons(0L, .compute = namespace)
somewhere in the teardown.