Improve reliability on a slow system where there is no gdnc daemon (eg when

running regression tests for an uninstalled copy of gnustep).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-06-24 10:44:40 +00:00
parent c4b05fa213
commit 124afa845a
2 changed files with 36 additions and 5 deletions

View file

@ -736,7 +736,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
}
[NSTask launchedTaskWithLaunchPath: cmd arguments: args];
limit = [NSDate dateWithTimeIntervalSinceNow: 5.0];
limit = [NSDate dateWithTimeIntervalSinceNow: 10.0];
while (_remote == nil && [limit timeIntervalSinceNow] > 0)
{
NSAutoreleasePool *pool = [NSAutoreleasePool new];