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

fix: Improve shutdown with live sessions #365

Merged
merged 2 commits into from
Dec 17, 2020
Merged

Conversation

achimnol
Copy link
Member

No description provided.

* We should use "shutdown" signal handlers to interrupt ongoing connections
  with aiohttp, instead of the "cleanup" context.
* Unify `stream_key` in the gateay.stream module to use the kernel ID.
  We are no longer codeonweb.com....
* Fix a rare bogus error at the ratelimiter upon shutdown.
@achimnol achimnol added this to the 20.03 milestone Dec 17, 2020
@achimnol achimnol added the bug label Dec 17, 2020
@codecov
Copy link

codecov bot commented Dec 17, 2020

Codecov Report

Merging #365 (e4bc9ce) into master (e4ee43a) will increase coverage by 0.00%.
The diff coverage is 66.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #365   +/-   ##
=======================================
  Coverage   49.26%   49.26%           
=======================================
  Files          51       51           
  Lines        7589     7591    +2     
=======================================
+ Hits         3739     3740    +1     
- Misses       3850     3851    +1     
Impacted Files Coverage Δ
src/ai/backend/gateway/ratelimit.py 92.98% <66.66%> (-1.57%) ⬇️

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 e4ee43a...e4bc9ce. Read the comment docs.

@achimnol achimnol merged commit cc596c9 into master Dec 17, 2020
@achimnol achimnol deleted the fix/improve-shutdown branch December 17, 2020 15:28
achimnol added a commit that referenced this pull request Dec 17, 2020
* We should use "shutdown" signal handlers to interrupt ongoing connections
  with aiohttp, instead of the "cleanup" context.
* Unify `stream_key` in the gateay.stream module to use the kernel ID.
  We are no longer codeonweb.com....
* Fix a rare bogus error at the ratelimiter upon shutdown.

Backported-From: master
Backported-To: 20.03
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant