| | |
| | | errNum = 0 |
| | | msg = '' |
| | | </script> |
| | | |
| | | <!-- ================== Parser =================== --> |
| | | <!-- parse the client parameters : --> |
| | | <!-- params is [[param1,val1],[param2,val2],...] --> |
| | |
| | | <!-- parse the client parameters : --> |
| | | <!-- params is [[param1,val1],[param2,val2],...] --> |
| | | <!-- get the ldap instance parameters --> |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | <import machine="'%s' % (client.getHost())" |
| | | file="'%s/%sLib.xml' % (client.getPath(),client.getName())"/> |
| | | <call function="'%sParser' % client.getName()"> |
| | | { |
| | |
| | | <!-- parse the client parameters : --> |
| | | <!-- params is [[param1,val1],[param2,val2],...] --> |
| | | <!-- get the ldap instance parameters --> |
| | | <import machine="'%s' % (STAF_LOCAL_HOSTNAME)" |
| | | |
| | | <message>'debug import %s' % client.getHost()</message> |
| | | <import machine="'%s' % (client.getHost())" |
| | | file="'%s/%sLib.xml' % (client.getPath(),client.getName())"/> |
| | | <call function="'%sParser' % client.getName()"> |
| | | { |
| | |
| | | // status every delayCnx |
| | | if ( (new_t1 - t1) >= delayCnx) { |
| | | |
| | | println("INFO", (nb_mod_done/delaySec) + " mod/sec."); |
| | | // println("INFO", (nb_mod_done/delaySec) + " mod/sec."); |
| | | |
| | | // inform all the threads the max nb searchs has been reached |
| | | synchronized (this) { |