Skip to content

Conversation

@moznion
Copy link
Contributor

@moznion moznion commented Feb 8, 2016

Hello,

Duration of KeepAlive() is hard-coded so we cannot change that. Accordingly, I added a new function KeepAliveBy(sec time.Duration) to configure duration.

Related: #12

@moznion moznion force-pushed the keep_alive_duration_to_be_configurable branch from fa15b84 to 2348006 Compare February 9, 2016 01:05
@moznion moznion changed the title Change keep alive duration to be configurable Add function for keep alive with arbitrary duration Feb 9, 2016
c.KeepAliveBy(60)
}

// KeepAlive is meant to run as a goroutine. It sends a single whitespace
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think KeepAlive should be KeepAliveBy? Just a copy-paste typo I think

@daneharrigan
Copy link
Collaborator

@moznion very sorry about my delayed responses!

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