Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

fix: remove duplicated logic to obtain redis local time in streaming proxy requests #576

Merged
merged 2 commits into from
Apr 13, 2022

Conversation

adrysn
Copy link
Member

@adrysn adrysn commented Apr 13, 2022

Getting Redis local time in every streaming proxy request will quickly deplete the Redis connection pool. This was fixed by #526, but reintroduced by #533 by merge mistake.

This PR removes the duplicated logic to suppress the depletion of the Redis connection pool.

@adrysn adrysn self-assigned this Apr 13, 2022
@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #576 (961c1c9) into main (ebd0ec8) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #576      +/-   ##
==========================================
- Coverage   48.57%   48.54%   -0.04%     
==========================================
  Files          53       53              
  Lines        9126     9126              
==========================================
- Hits         4433     4430       -3     
- Misses       4693     4696       +3     
Impacted Files Coverage Δ
src/ai/backend/manager/models/utils.py 74.46% <0.00%> (-2.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebd0ec8...961c1c9. Read the comment docs.

@adrysn adrysn requested a review from achimnol April 13, 2022 01:54
@adrysn adrysn added the bug label Apr 13, 2022
@adrysn adrysn added this to the 21.09 milestone Apr 13, 2022
Copy link
Member

@inureyes inureyes left a comment

Choose a reason for hiding this comment

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

LGTM

@inureyes inureyes merged commit 7cee2f5 into main Apr 13, 2022
@inureyes inureyes deleted the fix/duplicated-redis-call-to-get-now branch April 13, 2022 02:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants