The Cleanup Processor controls the background deletion of expired temp files.
To configure the Cleanup Processor:
-
Open the 5_tempfs.json file in a plain text editor such as
Notepad.
The file is located in the config folder of the API Server's installation location.
- Locate the "CleanupProcessor" section of the 5_tempfs.json file.
-
After "Enabled" :, enter true to enable
the Cleanup Processor, or false to disable it.
By default, this option is set to true.
-
After "StartupDelaySeconds" :, enter the number of seconds you want the Cleanup Processor to wait before processing after the Temp File Service restarts.
By default, this option is set to 0 seconds.
-
After "RunDelaySeconds" :, enter the number of seconds you want the Cleanup Processor to wait between each time it runs.
By default, this option is set to 300 seconds.
-
After "ErrorBehavior" :, enter one of the following options
for how the processor should behave when an error occurs:
- Enter LogAndContinue to have the processor log the error and wait the amount of time configured in the RunDelaySeconds option before continuing.
- Enter HaltProcessor to have the processor stop running entirely when it encounters an error.
By default, this option is set to LogAndContinue. - Save the configuration file.