Size limitations for task directory
In current version of Agent, it can manage $AGENT_HOME/tasks
directory in 2 ways:
- directory is deleted when a job ends (default behavior),
- directory is kept forever until it'll be deleted manually.
Can you implement size limitation for this directory? I.e. if the size of $AGENT_HOME/tasks
exceeds some threshold, the oldest tasks' subdirectories should be cleared.
Here is example of config:
...
"keepTaskDir": true,
"maxTaskDirSize": 2000000
...