mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	optimization of recursive CTE attribute query
This commit is contained in:
		| @@ -161,7 +161,7 @@ async function wrap(func, query) { | ||||
|         const result = await func(dbConnection); | ||||
|  | ||||
|         const milliseconds = Date.now() - startTimestamp; | ||||
|         if (milliseconds >= 200) { | ||||
|         if (milliseconds >= 300) { | ||||
|             if (query.includes("WITH RECURSIVE")) { | ||||
|                 log.info(`Slow recursive query took ${milliseconds}ms.`); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user