Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

- To ensure all transactions are finalized and temp files cleaned up,… #139

Merged
merged 3 commits into from Jul 15, 2019

Conversation

stephen-palmer
Copy link
Contributor

… wait for 'finish' event on CommandProcessor after socket disconnect, before un-piping streams.

  • Fix indentation

… wait for 'finish' event on CommandProcessor after socket disconnect, before un-piping streams.

- Fix indentation
… handling I/O (Issue #137)

- Fix npm audit warnings
…event nulls out the instance reference during the while loop
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 94.989% when pulling ece5b82 on bugfix/finish-before-cleanup into 9f5cee9 on master.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ A review job has been created and sent to the PullRequest network.


Check the status or cancel PullRequest code review here - or - cancel by adding [!pr] to the title of the pull request.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Nice refactoring and removing of tab spaces.


Reviewed with ❤️ by PullRequest

@@ -107,10 +107,13 @@ class CacheServer {
this.errCallback = errCallback;

this._server = net.createServer(socket => {
helpers.log(consts.LOG_INFO, `${socket.remoteAddress}:${socket.remotePort} connected.`);
const remoteAddress = socket.remoteAddress;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, this makes the template literals easier to read.

@stephen-palmer stephen-palmer merged commit 39a3903 into master Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants