]> git.parisson.com Git - telemeta.git/commitdiff
Increase worker timeout, use mysql 5
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 22 May 2018 08:18:58 +0000 (10:18 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 22 May 2018 08:18:58 +0000 (10:18 +0200)
app/settings.py
docker-compose.yml

index ba93883cc33ded9cc4402e628d7793d329e995e5..53358d04f95eccd83e2cfd16d0f4bdd917da74e3 100644 (file)
@@ -317,6 +317,7 @@ HAYSTACK_CONNECTIONS = {
         #'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
         'ENGINE': 'telemeta.util.backend.CustomElasticEngine',
         'URL': env('HAYSTACK_URL'),
+        'TIMEOUT': 60 * 5,
         'INDEX_NAME': env('HAYSTACK_INDEX_NAME'),
         'INLUDE_SPELLING': True,
         'EXCLUDED_INDEXES': ['telemeta.search_indexes.LocationIndex',
@@ -329,6 +330,7 @@ HAYSTACK_CONNECTIONS = {
         # 'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine',
         'ENGINE': 'telemeta.util.backend.CustomElasticEngine',
         'URL': env('HAYSTACK_URL'),
+        'TIMEOUT': 60 * 5,
         'INDEX_NAME': env('HAYSTACK_INDEX_NAME_AUTOCOMPLETE'),
         'INLUDE_SPELLING': True,
         'EXCLUDED_INDEXES': ['telemeta.search_indexes.MediaItemIndex',
index 7f1de7cbe712013027549c35e10922006cb727ed..7aeb01b109d7843ecf0a85b763c371a92bc11b6e 100644 (file)
@@ -39,7 +39,7 @@ data:
   command: "true"
 
 db:
-  image: mysql
+  image: mysql:5
   volumes:
     - ./scripts/:/srv/scripts
     - ./data/mysql/:/var/lib/mysql