Contact Form Processing Products - for all your needs

FormMail • Form Encryption • Hosted Forms

CLEANUP_CHANCE Setting

This page documents the CLEANUP_CHANCE configuration setting in FormMail.

Type Of Setting

CLEANUP_CHANCE is a LEAVE setting, which means...

LEAVE : you can change this setting if you really need to and know what you're doing, but we recommend that you leave this setting unchanged.

Précis

Controls the cleanup of old files in SCRATCH_PAD.

Description

CLEANUP_CHANCE is the percentage probability (chance) that a given FormMail execution will perform a cleanup.

Cleanup processing incurs significant overhead, so setting this to 100 would make every form submission incur that cost. We recommend a value between 10 and 30.

The default value of 20% is a good compromise.

Default Value

$CLEANUP_CHANCE = 20;

See Also

 
Close