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

add request cache #1585

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Conversation

ShiningZhang
Copy link
Collaborator

  1. 添加缓存功能,缓存请求结果,当具有相同内容的请求到来时直接返回缓存的结果
  2. 添加启动参数--request_cache_size 用于设置最大缓存空间,单位为Byte。默认为0,即不开启缓存。

@paddle-bot-old
Copy link

paddle-bot-old bot commented Jan 5, 2022

Thanks for your contribution!

Copy link
Collaborator

@TeslaZhao TeslaZhao left a comment

Choose a reason for hiding this comment

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

LGTM

@ShiningZhang ShiningZhang merged commit 27d9e17 into PaddlePaddle:develop Jan 5, 2022
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