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

Move twoslasher onto a child process #130

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tjjfvi
Copy link
Contributor

@tjjfvi tjjfvi commented Mar 27, 2021

!ts can be rather slow; this moves the twoslasher function onto a child process so that the main functions of the bot continue to work while twoslash is doing its thing.

I had to update ts-node-dev as the old version had a bug wrt child_process.fork.

@tjjfvi
Copy link
Contributor Author

tjjfvi commented Mar 27, 2021

This is unreliable on my machine; gonna draft until I get it working reliably.

@tjjfvi tjjfvi marked this pull request as draft March 27, 2021 21:02
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.

None yet

1 participant