Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-hanna committed May 2, 2017
1 parent a1b4d7b commit b76bf67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion store/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
// DefaultMaxIdleConnections sets the maximum number of idle connections on the redis server
DefaultMaxIdleConnections = 3
// DefaultMaxActiveConnections sets the maximum number of active connections on the redis server
DefaultMaxActiveConnections = 10
// DefaultMaxActiveConnections = 10 // changing this to 0, the uninitialized val, for now
// DefaultIdleTimeoutDuration sets the maximum duration to wait before closing an idle connection on the redis server
DefaultIdleTimeoutDuration = 10 * time.Second
)
Expand Down
4 changes: 2 additions & 2 deletions transport/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const (
// DefaultCookiePath is the default cookie path
DefaultCookiePath = "/"
// DefaultHTTPOnlyCookie is the default HTTPOnly option of the cookie
DefaultHTTPOnlyCookie = true
// DefaultHTTPOnlyCookie = true // changing this to false, the uninitialized val, for now
// DefaultSecureCookie is the default Secure option of the cookie
DefaultSecureCookie = true
// DefaultSecureCookie = true // changing this to false, the uninitialized val, for now
)

// Service writes sessions on responseWriters and reads sessions from requests
Expand Down

0 comments on commit b76bf67

Please sign in to comment.