Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
osmosis
Commits
b98356a4
Commit
b98356a4
authored
3 years ago
by
Thunnini
Browse files
Options
Download
Email Patches
Plain Diff
Increase the caching lifetime for the pools query
parent
dbf645ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
x/gamm/keeper/grpc_query.go
+1
-1
x/gamm/keeper/grpc_query.go
with
1 addition
and
1 deletion
+1
-1
x/gamm/keeper/grpc_query.go
+
1
-
1
View file @
b98356a4
...
...
@@ -24,7 +24,7 @@ import (
var
(
sdkIntMaxValue
=
sdk
.
NewInt
(
0
)
queryPoolsCache
=
cache
.
New
(
1
*
time
.
Second
,
5
*
time
.
Second
)
queryPoolsCache
=
cache
.
New
(
3
*
time
.
Second
,
10
*
time
.
Second
)
)
func
init
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets