Skip to content
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

Fix cache init and update timeouts in stored requests #4027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linux019
Copy link
Contributor

There are redundant conversions to interval in milliseconds which duplicates the same in initialization of the config.

CacheInitTimeout: time.Duration(cfg.Database.CacheInitialization.Timeout) * time.Millisecond,

CacheUpdateTimeout: time.Duration(cfg.Database.PollUpdates.Timeout) * time.Millisecond,

@linux019 linux019 changed the title fix update timeouts in stored requests Fix cache init and update update timeouts in stored requests Oct 30, 2024
@linux019 linux019 changed the title Fix cache init and update update timeouts in stored requests Fix cache init and update timeouts in stored requests Oct 30, 2024
Copy link
Contributor

@SyntaxNode SyntaxNode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find.

@SyntaxNode SyntaxNode self-assigned this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants