Add timeout of 15 seconds for auto fetch button

This commit is contained in:
aditya.chandel
2025-06-19 11:20:20 -06:00
parent ddc0244234
commit 30e1a0b4fa
4 changed files with 18 additions and 11 deletions
@@ -139,7 +139,7 @@ public class BookMetadataUpdater {
.orElseGet(() -> categoryRepository.save(CategoryEntity.builder().name(categoryName).build()));
existingCategories.add(categoryEntity);
` }
}
metadata.setCategories(existingCategories);
} else if (!newMetadata.getCategories().isEmpty()) {
Set<CategoryEntity> newCategoryEntities = new HashSet<>();