update config database
This commit is contained in:
		
							parent
							
								
									e246e6169c
								
							
						
					
					
						commit
						bac085e9ce
					
				| 
						 | 
				
			
			@ -10,6 +10,7 @@ import { getListLineByItem } from "./getListLineByItem";
 | 
			
		|||
 | 
			
		||||
export async function runtimeCheckLogs(folderPath) {
 | 
			
		||||
  try {
 | 
			
		||||
    const { connection } = Database.manager.get('mysql')
 | 
			
		||||
    let fileList = Array();
 | 
			
		||||
    let fileList_old = Array();
 | 
			
		||||
    // Function to update the list of files
 | 
			
		||||
| 
						 | 
				
			
			@ -275,10 +276,12 @@ export async function runtimeCheckLogs(folderPath) {
 | 
			
		|||
                      issueFound
 | 
			
		||||
                  );
 | 
			
		||||
                }
 | 
			
		||||
                await connection.disconnect()
 | 
			
		||||
              }, 3000);
 | 
			
		||||
              //false: next
 | 
			
		||||
            }
 | 
			
		||||
          );
 | 
			
		||||
          
 | 
			
		||||
          //setMaxListeners
 | 
			
		||||
          scan.setMaxListeners(0);
 | 
			
		||||
        });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue