Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Jun 13, 2018
1 parent 1271144 commit f2be789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const (
// sessionFailReason if session limits have been exceeded.
// Key values to manage rate are Rate and Per, e.g. Rate of 10 messages
// Per 10 seconds
func (l *SessionLimiter) ForwardMessage(r *http.Request, currentSession *user.SessionState, key string, store storage.Handler, enableRL, enableQ bool, globalConf config.Config) sessionFailReason {
func (l *SessionLimiter) ForwardMessage(r *http.Request, currentSession *user.SessionState, key string, store storage.Handler, enableRL, enableQ bool, globalConf *config.Config) sessionFailReason {
if enableRL {
if globalConf.EnableSentinelRateLImiter {
rateLimiterKey := RateLimitKeyPrefix + currentSession.KeyHash()
Expand Down

0 comments on commit f2be789

Please sign in to comment.