Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
385f2e9e
There was an error fetching the commit references. Please try again later.
Commit
385f2e9e
authored
4 years ago
by
Akshay Bharambe
Browse files
Options
Downloads
Plain Diff
Merge branch 'devbranch' into ab_Release_v1.1.2
parents
20ec34f1
5b0e2493
2 merge requests
!252
staging branch is merged into devbranch.
,
!218
Release v1.1.2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sessionmanagermdl/sessionmanager.go
+1
-1
sessionmanagermdl/sessionmanager.go
with
1 addition
and
1 deletion
sessionmanagermdl/sessionmanager.go
+
1
−
1
View file @
385f2e9e
...
...
@@ -130,7 +130,7 @@ func RetrieveAndExtend(key string, extendBy int64) (Entry, error) {
if
timeRemaining
<
extendBy
{
// update with new expiratin
entry
.
ExpiredAT
=
time
.
Now
()
.
Add
(
time
.
Second
*
time
.
Duration
(
extendBy
))
.
Unix
()
entry
.
Expiration
=
extendBy
Store
(
key
,
entry
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets