Skip to content

Just use one connection..#3

Open
thinkong wants to merge 2 commits into
evalphobia:masterfrom
thinkong:master
Open

Just use one connection..#3
thinkong wants to merge 2 commits into
evalphobia:masterfrom
thinkong:master

Conversation

@thinkong

Copy link
Copy Markdown

I noticed that it is currently connecting everytime it writes something to logrus.. which in my opinion it shouldn't do..

this is a pull request to make a connection when creating a new hook and using that connection for every Fire

@evalphobia

Copy link
Copy Markdown
Owner

Thanks! 😄
I could not run the test it my local environment.
Did you pass it?

@thinkong

Copy link
Copy Markdown
Author

hmm.. wonder why it's not passing the test..
I'll look into it again when I have the chance..

@evalphobia

Copy link
Copy Markdown
Owner

@thinkong sorry for my late reply. I checked the test and modified for one connection in #8 .
I add new api New() as your intention, but I feel sorry not to merge your this PR 😢 .
Thank you for your contribution 😊

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.

2 participants