Sets the maximum amount of time available for generating a property preview.
If the specified duration is reached and the preview is still being generated, the preview is cancelled.
The duration is measured in seconds. Valid values range from 1 to 5.