+ if(agt->notify_time == 0)
+ {
+ agt->notify_time = NOTIFY_TIME;
+ }
+ if(agt->max_time_reconnect_try == 0 )
+ {
+ agt->max_time_reconnect_try = NOTIFY_TIME * 3;
+ }
+ if(agt->max_time_reconnect_try <= agt->notify_time)
+ {
+ agt->max_time_reconnect_try = (agt->notify_time * 3);
+ verbose("%s: Max time to reconnect can't be less than notify_time(%d), using notify_time*3 (%d)",ARGV0,agt->notify_time,agt->max_time_reconnect_try);
+ }
+ verbose("%s: Using notify time: %d and max time to reconnect: %d",ARGV0,agt->notify_time,agt->max_time_reconnect_try);