-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Race condition with configstore #68
Comments
I don't have the time right now to look into this, but it sounds like an issue with @timjroberts What Node.js version are you on? |
@sindresorhus We're using Node 4.0.0 |
@sindresorhus this is probably the same issue I had in sindresorhus/del-cli#7, as |
@SimenB Are you using it from multiple processes? |
Updated my comment, but yes, we're using |
Alright. It seems pretty clear now this is a |
Fixed by npm/write-file-atomic#13. |
From typings/typings#80 (comment).
I'm not the original author, see linked issue, but it appears some sort of race condition might be occurring when checking for updates in multiple processes that are being spawned. If this is the case, a solution might be to set the config store before running the check, then having subsequent stores use the latest config to check if a different check script is already currently executing. This would avoid having multiple updates executing at once, though I can't tell if it'd solve the core issue.
The text was updated successfully, but these errors were encountered: