Skip to content

Make updating regexps.js more atomic to prevent server crashes#89

Open
dattas wants to merge 1 commit into3rd-Eden:masterfrom
dattas:master
Open

Make updating regexps.js more atomic to prevent server crashes#89
dattas wants to merge 1 commit into3rd-Eden:masterfrom
dattas:master

Conversation

@dattas
Copy link

@dattas dattas commented Sep 13, 2016

Occasionally the auto update fails while writing to the regexps.js file, leaving a blank file and causing node to fail and prevents starting of the application. This change writes the changes to a temporary file first and if there are no issues, then it renames it. This makes the process more atomic and has improved reliability on our servers.

@dattas
Copy link
Author

dattas commented Sep 13, 2016

Looks like the build failed due to npm issues, closing and re-opening to have it try again.

@dattas dattas closed this Sep 13, 2016
@dattas dattas reopened this Sep 13, 2016
@dattas
Copy link
Author

dattas commented Sep 13, 2016

Looks like the should package is having trouble on NPM for node 0.8 which is causing this to fail. I can close/open again later, perhaps tomorrow to see if the issue goes away

@dattas dattas closed this Sep 24, 2016
@dattas dattas reopened this Sep 24, 2016
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