mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-01 18:37:42 -05:00
filename handling for archive files.
This commit is contained in:
@@ -13,8 +13,8 @@ from documents.sanity_checker import SanityFailedError
|
||||
|
||||
def index_optimize():
|
||||
ix = index.open_index()
|
||||
with AsyncWriter(ix) as writer:
|
||||
writer.commit(optimize=True)
|
||||
writer = AsyncWriter(ix)
|
||||
writer.commit(optimize=True)
|
||||
|
||||
|
||||
def index_reindex():
|
||||
|
Reference in New Issue
Block a user