mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	this change caused index optimization to fail.
This commit is contained in:
		| @@ -12,9 +12,7 @@ from documents.sanity_checker import SanityFailedError | ||||
|  | ||||
|  | ||||
| def index_optimize(): | ||||
|     ix = index.open_index() | ||||
|     with AsyncWriter(ix) as writer: | ||||
|         writer.commit(optimize=True) | ||||
|     index.open_index().optimize() | ||||
|  | ||||
|  | ||||
| def index_reindex(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler