mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	When an application updates metrics for a toggle we now stores the timestamp on the toggle when it was last seen used by an application. This will make it much easier to detect toggles not in use anymore. closes #642
		
			
				
	
	
		
			10 lines
		
	
	
		
			396 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			396 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const ProjectService = require('./project-service');
 | |
| const StateService = require('./state-service');
 | |
| const ClientMetricsService = require('./client-metrics');
 | |
| 
 | |
| module.exports.createServices = (stores, config) => ({
 | |
|     projectService: new ProjectService(stores, config),
 | |
|     stateService: new StateService(stores, config),
 | |
|     clientMetricsService: new ClientMetricsService(stores, config),
 | |
| });
 |