SIENTIAPDE-988
Refactor ingestor lease management and update Docker configurations - Updated CMD in Dockerfile to use the correct application entry point. - Added docker compose command to remove volumes in README. - Removed unnecessary restart policy from ingestor service in docker-compose.yaml. - Refactored manage_leases method in Ingestor class to improve clarity and parameter naming. - Added get_number_of_leases method in IngestorManager to retrieve active leases. - Implemented get_all_leases method in ResourceManager to fetch active leases from Redis. - Enhanced unit tests for lease management in test_ingestor_manager and test_resource_manager.
This commit is contained in:
@@ -27,4 +27,4 @@ RUN --mount=type=ssh \
|
||||
|
||||
|
||||
# Run the application
|
||||
CMD ["python", "-m", "ingestor.ingestor"]
|
||||
CMD ["python", "-m", "ingestor.app"]
|
||||
Reference in New Issue
Block a user