• gaclove's avatar
    refactor: improve server configuration and distributed utilities · b099ff96
    gaclove authored
    - Updated `ServerConfig` to raise a RuntimeError when no free port is found, providing clearer guidance for configuration adjustments.
    - Introduced chunked broadcasting and receiving methods in `DistributedManager` to handle large byte data more efficiently.
    - Refactored `broadcast_task_data` and `receive_task_data` methods to utilize the new chunking methods for improved readability and performance.
    - Enhanced error logging in `image_utils.py` by replacing print statements with logger warnings.
    - Cleaned up the `main.py` file by removing unused signal handling code.
    b099ff96
post_multi_servers.py 4.67 KB