Add timeout of 15 seconds for auto fetch button
This commit is contained in:
+1
-1
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user