summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-03-30 09:56:27 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-03-30 09:56:27 +0700
commitc165e5bffe4c6649399e6bf3852ebb4fafde0dc9 (patch)
treee6bf068d91c659ee377d16c26afbba74c89fc5f0
parent2b6397837c3b369cb67b7710228aaf23676434df (diff)
change address to production
-rw-r--r--indoteknik_custom/models/apache_solr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py
index 6bd717b2..105a26be 100644
--- a/indoteknik_custom/models/apache_solr.py
+++ b/indoteknik_custom/models/apache_solr.py
@@ -13,7 +13,7 @@ class ApacheSolr(models.Model):
def _sync_product_to_solr(self):
_logger.info('run sync to solr...')
- solr = pysolr.Solr('http://192.168.23.5:8983/solr/product/', always_commit=True, timeout=100)
+ solr = pysolr.Solr('http://10.148.0.5:8983/solr/product/', always_commit=True, timeout=30)
templates = self.env['product.template'].search([
('solr_flag', '=', 0),