PDA

View Full Version : Timeout when communication to license server is lost.



dancar
09-16-2008, 06:59 AM
Hi

Im testing the automatic in heartbeat feature in publisher 11.6. When i use the values as bellow i get an timeout time to 3 minutes and 40 seconds. I was expecting 20 seconds. I can't figure out why it takes 3min 40sec.

(void)lc_set_attr(m_job, LM_A_CHECK_INTERVAL, (LM_A_VAL_TYPE)20);
(void)lc_set_attr(m_job, LM_A_RETRY_COUNT, (LM_A_VAL_TYPE)1);
(void)lc_set_attr(m_job, LM_A_RETRY_INTERVAL, (LM_A_VAL_TYPE)10);

Best regards

Daniel

RobertDickau
09-16-2008, 02:48 PM
For one possibility, please see the documentation for LM_A_CHECK_INTERVAL in FuncRef-c.pdf: the minimum heartbeat interval is 30 seconds, and if lc_set_attr sets the interval to a value from 0 through to 29 seconds, the call is ignored and the interval remains unchanged (from the default 120 seconds, normally).