Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PDF content being parsed even if document does not change. #981

@mateuswetah

Description

@mateuswetah

The generate_index_content function is being called inside the tainacan-api-item-updated hook. There should be a check there to avoid parsing the content every time the item is update, unless there has been an actual change to the document itself.

This was reported here: https://tainacan.discourse.group/t/pdf-com-mais-de-110mb-causando-lentidoes-ao-salvar-item/2525

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Validation

Relationships

None yet

Development

No branches or pull requests

Issue actions