mone icon indicating copy to clipboard operation
mone copied to clipboard

[Feature Request] Support Dynamic Stopping of Wildcard File Collection

Open wtt40122 opened this issue 7 months ago • 0 comments

Description

Our current file collection system lacks the ability to dynamically stop the collection process when using wildcards to specify file sets. This can lead to resource wastage or an inability to respond to user commands in a timely manner.

User Story

  • As a user, I want to be able to dynamically stop the file collection process based on real-time monitoring results to optimize resource usage and prevent unnecessary data processing.

Expected Feature

  1. Dynamic Stopping Capability: Support for dynamically stopping the file collection process during execution through commands or trigger conditions sent by the upper-layer application.
  2. Graceful Shutdown: The system should handle stop requests gracefully, ensuring data consistency and integrity.
  3. Configuration Flexibility: Provide APIs or configuration options that allow users to configure when and how to stop the collection.

Implementation Suggestions

  • Implement a stop signal listening mechanism that will gradually stop file collection when a stop command is received.
  • Ensure that during the stop process, the collected data is correctly saved and processed.
  • Provide documentation and examples on how to use the dynamic stop feature in different scenarios.

wtt40122 avatar Jul 05 '24 06:07 wtt40122