@@ -69,7 +69,7 @@ const rq=node_require,fs=rq('fs'),cp=rq('child_process'),net=rq('net'),os=rq('os
6969 } )
7070 } )
7171 c && c . on ( 'error' , x => { err ( x . message || '' + x ) ; q . connecting_dlg . hidden = 1 ; clearTimeout ( D . tmr ) ; delete D . tmr } )
72- D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; c && c . end ( ) ; q . connecting_dlg . hidden = 1 } , 3000 )
72+ D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; c && c . end ( ) ; q . connecting_dlg . hidden = 1 } , 10000 )
7373 } else {
7474 connect ( { host :x . host , port :+ x . port || 4502 ,
7575 ssl :x . ssl , cert :x . cert , key :x . key , subj :x . subj , rootcertsdir :x . rootcertsdir } )
@@ -98,7 +98,7 @@ const rq=node_require,fs=rq('fs'),cp=rq('child_process'),net=rq('net'),os=rq('os
9898 q . connecting_dlg . hidden = 1
9999 } )
100100 } ) . on ( 'error' , x => { err ( x . message || '' + x ) ; q . connecting_dlg . hidden = 1 ; clearTimeout ( D . tmr ) ; delete D . tmr } )
101- D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; c && c . end ( ) ; q . connecting_dlg . hidden = 1 } , 3000 )
101+ D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; c && c . end ( ) ; q . connecting_dlg . hidden = 1 } , 10000 )
102102 } else {
103103 srv = net . createServer ( y => { log ( 'spawned interpreter connected' ) ; const a = srv . address ( ) ; srv && srv . close ( ) ; srv = 0 ; clt = y
104104 initInterpreterConn ( ) ; new D . IDE ( ) . setConnInfo ( a . address , a . port , sel ?sel . name :'' )
@@ -121,7 +121,7 @@ const rq=node_require,fs=rq('fs'),cp=rq('child_process'),net=rq('net'),os=rq('os
121121 err ( y . code === 'ENOENT' ?"Cannot find the interpreter's executable" :'' + y )
122122 console . error ( y ) } )
123123 } )
124- D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; srv && srv . close ( ) ; srv = 0 ; child && child . kill ( ) ; child = 0 } , 3000 )
124+ D . tmr = setTimeout ( function ( ) { err ( 'Timed out' ) ; srv && srv . close ( ) ; srv = 0 ; child && child . kill ( ) ; child = 0 } , 10000 )
125125 }
126126 break
127127 }
0 commit comments