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

Fix: Fix worker_threads support #3

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Conversation

chakflying
Copy link

@chakflying chakflying commented Oct 6, 2021

Surprise, I think this is the only change needed to get it working!

In node-sqlite3#1367, you can see that they already fixed it by implementing NAPI v6. Then in node-sqlite3#1444, you can see that they delayed deploying this fix only because their build process is broken. Since we don't need to support older node versions, we can just skip building for NAPI v3 entirely.

I tested a few add / delete monitor in uptime-kuma and the v6 version seems to work fine. npm run test also passed, although I'm not sure how the tests work.

Closes uptime-kuma#574

@louislam louislam merged commit b56e78a into louislam:master Oct 7, 2021
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.

[Discussion][Dev] node-sqlite3 does not support worker_threads
2 participants