OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

feat: auto clean inactive sessions for a long time.

Open assertion opened this issue 1 year ago • 1 comments

There's no session clean strategy now, if frontend just be offline/close browser, the session in backend server will always be there. This pr will auto close the inactive sessions for 600s, and every 300s an inactive session check will be triggered.

assertion avatar May 08 '24 12:05 assertion

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@f8d4b1a). Click here to learn what that means.

Files Patch % Lines
opendevin/server/session/manager.py 0.00% 16 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1644   +/-   ##
=======================================
  Coverage        ?   62.54%           
=======================================
  Files           ?       96           
  Lines           ?     3855           
  Branches        ?        0           
=======================================
  Hits            ?     2411           
  Misses          ?     1444           
  Partials        ?        0           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar May 08 '24 12:05 codecov-commenter