Files
mtusi2026lab4/src/cleaner/__main__.py
T

11 lines
345 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
if __name__ == "__main__":
# как у API (src/__main__.py): обработчик SIGTERM — до импорта, иначе
# PID 1 контейнера уборщика терял бы сигнал во время старта
from src import early_stop
early_stop.install()
from src.cleaner.main import run
run()