mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	#98, working sync setup from server to desktop instance + refactoring of DB initialization
This commit is contained in:
		| @@ -157,10 +157,10 @@ async function transactional(func) { | ||||
|     transactionActive = true; | ||||
|     transactionPromise = new Promise(async (resolve, reject) => { | ||||
|         try { | ||||
|             cls.namespace.set('isInTransaction', true); | ||||
|  | ||||
|             await beginTransaction(); | ||||
|  | ||||
|             cls.namespace.set('isInTransaction', true); | ||||
|  | ||||
|             ret = await func(); | ||||
|  | ||||
|             await commit(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user