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

concurrency and memory optimization #11

Merged
merged 1 commit into from
Jun 5, 2023
Merged

Conversation

wubin1989
Copy link
Contributor

No description provided.

@wubin1989
Copy link
Contributor Author

#10

@shilinlee shilinlee changed the title 1.单线程改并发; 2.内存优化 concurrency and memory optimization Jun 5, 2023

func (g *geminiService) GetShardGroupDuration(database, rp string) (time.Duration, error) {
c, err := client.NewHTTPClient(client.HTTPConfig{
Addr: "http://localhost:8086",
Copy link
Member

Choose a reason for hiding this comment

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

openGemini service address is not necessarily localhost

@shilinlee shilinlee merged commit 9f4efe1 into openGemini:main Jun 5, 2023
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