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
09b73e64
Commit
09b73e64
authored
4 years ago
by
Akshay Bharambe
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Wrong Redis cache item count for project.
parent
d5ddfe0f
2 merge requests
!210
Staging mepdeployment05072020
,
!206
Add: Enable users to view data present in session manager
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cachemdl/cache_redis.go
+1
-1
cachemdl/cache_redis.go
with
1 addition
and
1 deletion
cachemdl/cache_redis.go
+
1
−
1
View file @
09b73e64
...
...
@@ -227,7 +227,7 @@ func (rc *RedisCache) Delete(key string) {
// GetItemsCount -
func
(
rc
*
RedisCache
)
GetItemsCount
()
int
{
pattern
:=
"*"
pattern
:=
rc
.
Prefix
+
"*"
keys
,
err
:=
rc
.
cli
.
Keys
(
pattern
)
.
Result
()
if
err
!=
nil
{
loggermdl
.
LogError
(
"error getting item count for "
,
pattern
,
" error: "
,
err
)
...
...
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