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
coreospackage
Merge requests
!9
Stagingbranch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Stagingbranch
stagingbranch
into
master
Overview
0
Commits
2
Pipelines
0
Changes
4
Merged
Sandeep S. Shewalkar
requested to merge
stagingbranch
into
master
7 years ago
Overview
0
Commits
2
Pipelines
0
Changes
4
Expand
kindly merge with master changes : file names changes, bug removal
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e411ba33
2 commits,
7 years ago
4 files
+
38
−
9
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
Search (e.g. *.vue) (Ctrl+P)
cacheHelper.go
+
8
−
8
Options
@@ -7,15 +7,15 @@ import (
"github.com/allegro/bigcache"
)
const
(
BIGCACHEShards
=
8
BIGCACHEMaxEntrySize
=
1024
BIGCACHEVerbose
=
true
BIGCACHEHardMaxCacheSize
=
0
BIGCACHEMaxEntriesInWindow
=
1000
10
60
BIGCACHELifeWindow
=
2
BIGCACHEShards
=
8
BIGCACHEMaxEntrySize
=
1024
BIGCACHEVerbose
=
true
BIGCACHEHardMaxCacheSize
=
0
BIGCACHEMaxEntriesInWindow
=
1000
*
10
*
60
BIGCACHELifeWindow
=
2
)
var
bigcacheConfig
=
bigcache
.
Config
{
// number of shards (must be a power of 2)
// Shards: 4096,
@@ -23,7 +23,7 @@ var bigcacheConfig = bigcache.Config{
// time after which entry can be evicted
LifeWindow
:
BIGCACHELifeWindow
*
time
.
Hour
,
// rps * lifeWindow, used only in initial memory allocation
MaxEntriesInWindow
:
1000
*
10
*
60
,
MaxEntriesInWindow
:
BIGCACHEMaxEntriesInWindow
,
// MaxEntriesInWindow: 10,
// max entry size in bytes, used only in initial memory allocation
MaxEntrySize
:
BIGCACHEMaxEntrySize
,
Menu
Explore
Projects
Groups
Topics
Snippets