search for: lastdisc

Displaying 1 result from an estimated 1 matches for "lastdisc".

Did you mean: last_tsc
2007 Sep 19
1
AgentCalbackLogin not loging in race condition ?
...atches the problem by the time being. > > Any hints are welcome. I did not find a way to go wrap on login, cause the logic is distributed between Queue and Agent, but I did find this comment at chan_agent.c: /* Ensure we can't be gotten until we're done */ gettimeofday(&p->lastdisc, NULL); p->lastdisc.tv_sec++; It seems that the time it takes for the "login ok" message is more than one second, and is creating the trouble window. I changed that to allow 10 seconds of unavailability and the problem seems to be gone. -Carlos -- Carlos G Mendioroz <tron at ac...