mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Defer connection to Studio
This commit is contained in:
		
							parent
							
								
									67de1b791f
								
							
						
					
					
						commit
						275600fc44
					
				@ -83,7 +83,7 @@ module.exports = function (strapi) {
 | 
				
			|||||||
        socket.on('connect', function () {
 | 
					        socket.on('connect', function () {
 | 
				
			||||||
          strapi.log.info('Connection with the Studio server found, please wait a few seconds...');
 | 
					          strapi.log.info('Connection with the Studio server found, please wait a few seconds...');
 | 
				
			||||||
          firstConnectionAttempt = false;
 | 
					          firstConnectionAttempt = false;
 | 
				
			||||||
          _self.connectWithStudio(socket);
 | 
					          process.nextTick(_self.connectWithStudio(socket));
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        socket.on('error', function (err) {
 | 
					        socket.on('error', function (err) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user