From c165e5bffe4c6649399e6bf3852ebb4fafde0dc9 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Thu, 30 Mar 2023 09:56:27 +0700 Subject: change address to production --- indoteknik_custom/models/apache_solr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3