Subversion Repositories DevTools

Rev

Rev 4212 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4212 Rev 4231
Line 240... Line 240...
240
    
240
    
241
    //
241
    //
242
    //  Due to NFS caching of small file requests the file may take
242
    //  Due to NFS caching of small file requests the file may take
243
    //  a few seconds to appear. Try several times
243
    //  a few seconds to appear. Try several times
244
    //    5 seconds does not appear to be enough
244
    //    5 seconds does not appear to be enough
245
    //    Bumped to 60 seconds: 23-Sep-2013
245
    //    Bumped to 60 seconds: 23-Sep-2013, except for escrow where its not used
246
    //
246
    //
247
    boolean found = false;
247
    boolean found = false;
-
 
248
    int   maxwait = (daemon == null) ? 1 : (60*2);
248
    for ( int ii = 0; ii < (60*2) && !found; ii++)
249
    for ( int ii = 0; ii < maxwait && !found; ii++)
249
    {
250
    {
250
        File flag = new File( destination, filename );
251
        File flag = new File( destination, filename );
251
        found = flag.exists();
252
        found = flag.exists();
252
        if ( !found )
253
        if ( !found )
253
        {
254
        {