# --------------------------------------------------------------------------
- def waitNS(self,name,typobj=None,maxcount=70):
+ def waitNS(self,name,typobj=None,maxcount=40):
count=0
- delta=0.3
+ delta=0.5
print "Searching %s in Naming Service " % name,
while(1):
count += 1
# --------------------------------------------------------------------------
- def waitLogger(self,name,typobj=None,maxcount=10):
+ def waitLogger(self,name,typobj=None,maxcount=40):
count=0
- delta=0.3
+ delta=0.5
print "Searching %s in Naming Service " % name,
while(1):
count += 1
// Obtain a reference to the root POA.
// obtain the root poa manager
//
- long TIMESleep = 250000000;
+ long TIMESleep = 500000000;
int NumberOfTries = 40;
int a;
timespec ts_req;
try
{
//Initialize the ORB
- const long TIMESleep = 250000000;
+ const long TIMESleep = 500000000;
const int NumberOfTries = 40;
int i;
timespec ts_req = {0, TIMESleep};
// initialize POA
//
- long TIMESleep = 250000000;
+ long TIMESleep = 500000000;
int NumberOfTries = 40;
int a;
timespec ts_req;
* \param serverName name of the server to find.
* \param NS SALOME_NamingService object
* Wait until the given server is ready i.e. is name is found in namingService.
- * Try 40 times, with 250 ms sleep between each try.
+ * Try 40 times, with 500 ms sleep between each try.
* If Logger is used for traces, it must be ready before this call, because
* SALOME_NamingService client uses SALOME traces. So, Logger readiness must be
* checked in Launch script before execution of WaitForServerReadiness.
void NamingService_WaitForServerReadiness(SALOME_NamingService* NS,
string serverName)
{
- long TIMESleep = 250000000; // 250 ms.
- int NumberOfTries = 40; // total wait = 10 s.
+ long TIMESleep = 500000000; // 500 ms.
+ int NumberOfTries = 40; // total wait = 20 s.
int found = 0;
timespec ts_req;
omniORB::MaxMessageSize(100 * 1024 * 1024);
// Obtain a reference to the root POA.
//
- long TIMESleep = 250000000;
+ long TIMESleep = 500000000;
int NumberOfTries = 40;
int a;
timespec ts_req;