Skip to content

Move twoslasher onto a child process - #130

Draft
tjjfvi wants to merge 2 commits into
typescript-community:masterfrom
tjjfvi:twoslasher-child-process
Draft

Move twoslasher onto a child process#130
tjjfvi wants to merge 2 commits into
typescript-community:masterfrom
tjjfvi:twoslasher-child-process

Conversation

@tjjfvi

@tjjfvi tjjfvi commented Mar 27, 2021

Copy link
Copy Markdown
Contributor

!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

tjjfvi commented Mar 27, 2021

Copy link
Copy Markdown
Contributor Author

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.

1 participant