SamiKoen Claude commited on
Commit
c2f5052
·
1 Parent(s): a47092c

Temporarily disable warehouse stock to fix performance

Browse files

- Disabled warehouse API calls causing freezing
- Will re-enable with better optimization later
- BF Space should work normally now

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,8 +29,9 @@ from enhanced_features import (
29
  )
30
  from image_renderer import extract_product_info_for_gallery, format_message_with_images
31
 
32
- # Warehouse stock integration
33
  def get_warehouse_stock(product_name):
 
34
  """B2B API'den mağaza stok bilgilerini çek - BF Space integration"""
35
  try:
36
  import re
 
29
  )
30
  from image_renderer import extract_product_info_for_gallery, format_message_with_images
31
 
32
+ # Warehouse stock integration - TEMPORARILY DISABLED DUE TO PERFORMANCE
33
  def get_warehouse_stock(product_name):
34
+ return None # Disabled temporarily
35
  """B2B API'den mağaza stok bilgilerini çek - BF Space integration"""
36
  try:
37
  import re