Editing Recipes for Using Creo View MCAD Adapters > Performing Recipe Editor Tasks > Configuring Worker Helper Timeouts
  
Configuring Worker Helper Timeouts
A timeout is the length of time that processing is assumed to continue without the generation of a prompt or message. If a worker hangs or prematurely exits without generating an error message, the timeout represents the maximum amount of publishing time that will be lost.
There are two different types of timeouts for Creo View Adapters and a different way to control each:
WVS (Windchill Visualization Services) Publisher Controlled Timeouts—Define the overall timeout values that the WVS Publisher gives the worker agent for the complete conversion of the different CAD data set types. These timeouts are controlled by the publish.cadtimeout.* property settings in a Windchill server's wvs.properties file. Conversion includes download, retrieval, conversion, thumbnail generation, postprocessing, and so on. The defined properties and their default settings are listed below:
publish.cadtimeout.component–600 seconds
publish.cadtimeout.assembly—3600 seconds
publish.cadtimeout.drawing—600 seconds
publish.cadtimeout.<ObjectType>.<AuthApp>—3600 seconds
For example, publish.cadtimeout.component.ARBORTEXT
Short Timeouts > Helper and Long Timeouts > Helper—Control worker activities such as generating viewables or downloading. These timeouts are controlled by the helper process that runs alongside each worker process on the worker machine. They control the following types of worker activities:
Short activities, such as viewable generation
Long activities, such as download or retrieval
The worker knows if a short or long activity is about to occur and notifies the helper of the length of time to wait for the completion of the activity, based on the configured timeout setting for the activity.
Short Timeout—Click Advanced > System and type a value in to the Short Timeout (sec) box. Set the short timeout value to approximately 5 minutes (300 seconds). This is enough time for a reasonably performing short activity to complete. It wastes only 5 minutes of publishing time, if it is exceeded.
Long Timeout—Click Advanced > System and type a value in to the Long Timeout (sec) box. If the long timeout value is exceeded then a longer amount of publishing time is wasted. Consider the following steps when deciding on a value for the long timeout:
1. On the worker machine when converting the largest assembly or drawing, determine approximately how long it takes to load. You can use the command-line publisher with the -vT argument for delta timestamps to function on the log.
2. Add 10% to allow for load conditions and set the long timeout to this value.
3. Monitor and adjust the timeout accordingly with the benefit of production publishing experience.
* 
The publish.cadtimeout.* properties determine the overall publishing time, even when the worker's short and long timeout values are set. It is important that these properties are set higher than the longest overall publishing time expected or allowed for each of CAD Document object types.