mirror of
				https://github.com/skidoodle/ncore-stats.git
				synced 2025-02-15 05:09:14 +01:00 
			
		
		
		
	Merge branch 'main' of https://github.com/skidoodle/trackncore
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							@@ -237,7 +237,7 @@ func watchProfilesFile() {
 | 
			
		||||
			}
 | 
			
		||||
			if event.Op&fsnotify.Write == fsnotify.Write || event.Op&fsnotify.Create == fsnotify.Create {
 | 
			
		||||
				log.Println("Profiles file changed, reloading profiles...")
 | 
			
		||||
				debounce.Stop() // Stop any running debounce timer
 | 
			
		||||
				debounce.Stop()
 | 
			
		||||
				debounce = time.AfterFunc(500*time.Millisecond, func() {
 | 
			
		||||
					loadProfiles()
 | 
			
		||||
					for displayName, url := range profiles {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user