mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: stop scheduler on app stop (#3129)
This commit is contained in:
		
							parent
							
								
									339aa16d9c
								
							
						
					
					
						commit
						2888fcc4c6
					
				@ -54,6 +54,7 @@ async function createApp(
 | 
			
		||||
            const stopServer = promisify(server.stop);
 | 
			
		||||
            await stopServer();
 | 
			
		||||
        }
 | 
			
		||||
        services.schedulerService.stop();
 | 
			
		||||
        metricsMonitor.stopMonitoring();
 | 
			
		||||
        stores.clientInstanceStore.destroy();
 | 
			
		||||
        services.clientMetricsServiceV2.destroy();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user