Skip to content

Commit

Permalink
ttl hardcoding removed
Browse files Browse the repository at this point in the history
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
  • Loading branch information
ManishaKumari295 committed Sep 25, 2024
1 parent 32e117f commit e58913f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/store/etcd/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (s *Store) GetSession(ctx context.Context, username, sessionID string) (str
}

// UpdateSession applies the supplied state to the session uniquely identified
// by the given username and session ID with attached lease for TTL of the key
// by the given username and session ID with attached lease and TTl for each key
func (s *Store) UpdateSession(ctx context.Context, username, sessionID, state string) error {

leaseDuration := jwt.DefaultAccessTokenLifespan
Expand Down

0 comments on commit e58913f

Please sign in to comment.