fix: wrong function name
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m50s
Build Worker Base and Application Images / deploy-stack (push) Successful in 9s
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m50s
Build Worker Base and Application Images / deploy-stack (push) Successful in 9s
This commit is contained in:
parent
c2c80222f1
commit
f4b898ccd1
1 changed files with 5 additions and 2 deletions
|
@ -466,7 +466,10 @@ def initialize_stream_manager(max_streams: int = 10):
|
|||
global shared_stream_manager
|
||||
# Release old manager if exists
|
||||
if shared_stream_manager:
|
||||
# Stop all existing streams gracefully
|
||||
shared_stream_manager.cleanup()
|
||||
try:
|
||||
# Stop all existing streams gracefully
|
||||
shared_stream_manager.stop_all()
|
||||
except Exception as e:
|
||||
logger.warning(f"Error stopping previous stream manager: {e}")
|
||||
shared_stream_manager = StreamManager(max_streams=max_streams)
|
||||
return shared_stream_manager
|
Loading…
Add table
Add a link
Reference in a new issue