diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-03-30 09:56:27 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-03-30 09:56:27 +0700 |
| commit | c165e5bffe4c6649399e6bf3852ebb4fafde0dc9 (patch) | |
| tree | e6bf068d91c659ee377d16c26afbba74c89fc5f0 | |
| parent | 2b6397837c3b369cb67b7710228aaf23676434df (diff) | |
change address to production
| -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), |
