-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add market history cache #2182
add market history cache #2182
Conversation
Pull Request Test Coverage Report for Build 557a962f-ef22-4a3c-9677-2feee876abb3
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just left a minor suggestion
@last_update_key :last_update | ||
@history_key :history | ||
# 6 hours | ||
@cache_period 1_000 * 60 * 60 * 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could use erlang timer library here :timer.hours(6)
and avoid the comment as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vbaranov yes |
@@ -1,4 +1,6 @@ | |||
## Current | |||
### Features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayrat555 there is a doubled Features
section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@ayrat555 something wrong with gettext test |
@vbaranov it was ci bug. now everything's ok |
resolves #1880
resolves #2035