diff options
| -rw-r--r-- | indoteknik_custom/models/apache_solr.py | 2 |
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), |
