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

#135 Error handling and flushing message on reconnection. #136

Merged
merged 21 commits into from
Feb 15, 2019

Conversation

sphansekar-cci
Copy link
Contributor

#135 Fixed.

@sphansekar-cci
Copy link
Contributor Author

@okkez Please review the changes and let me know if there are anything more to be done.

@okkez
Copy link
Contributor

okkez commented Feb 14, 2019

@sphansekar-cci Please check DCO result.

zbjornson and others added 20 commits February 14, 2019 10:39
Approx. 23x speedup

Signed-off-by: Zach Bjornson <[email protected]>
This technique of exporting methods also thwarts some optimizations.

It doesn't look like `sender` can ever be falsy?

Signed-off-by: Zach Bjornson <[email protected]>
Signed-off-by: Zach Bjornson <[email protected]>
Signed-off-by: Zach Bjornson <[email protected]>
Type info is expensive to check

Signed-off-by: Zach Bjornson <[email protected]>
Signed-off-by: Zach Bjornson <[email protected]>
* Line 213L: Unnecessary because `_doConnect()` invokes its callback asynchronously. Just need one `nextTick` on line 223R so that all paths invoke the cb async.
* Line 222L: `_disconnect()` is sync, no need to wait for next tick to reconnect.
* Line 338L: `_flushSendQueue()` is invoked only on line 114, which is an async callback.

Signed-off-by: Zach Bjornson <[email protected]>
Because "ts" is ambiguous name.

Signed-off-by: Kenji Okimoto <[email protected]>
Signed-off-by: Kenji Okimoto <[email protected]>
Signed-off-by: Kenji Okimoto <[email protected]>
Signed-off-by: Kenji Okimoto <[email protected]>
@sphansekar-cci sphansekar-cci force-pushed the reconnect-and-flush-on-reconnect branch from bf39619 to 999d4e4 Compare February 14, 2019 05:21
Signed-off-by: Sanket Phansekar <[email protected]>
@sphansekar-cci
Copy link
Contributor Author

@okkez It's done.

@okkez okkez merged commit 1623b0a into fluent:master Feb 15, 2019
@okkez
Copy link
Contributor

okkez commented Feb 15, 2019

Thanks!

@sphansekar-cci
Copy link
Contributor Author

When can I expect for the new version to be released?

@okkez
Copy link
Contributor

okkez commented Feb 15, 2019

Maybe after #132 will be resolved.

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.

3 participants