<commit_before>import certifi
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from elasticsearch_dsl.connections import connections


class DocsConfig(AppConfig):
    name = 'docs'
    verbose_name = _('Documentation')

    def ready(self):
        super(DocsConfig, self).ready()
        # Configure Elasticsearch connections for connection pooling.
        connections.configure(
            default={
                'hosts': settings.ES_HOST,
                'verify_certs': True,
                'ca_certs': certifi.where(),
            },<commit_msg>Increase the ES timeout to 1 minute.<commit_after>import certifi
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from elasticsearch_dsl.connections import connections


class DocsConfig(AppConfig):
    name = 'docs'
    verbose_name = _('Documentation')

    def ready(self):
        super(DocsConfig, self).ready()
        # Configure Elasticsearch connections for connection pooling.
        connections.configure(
            default={
                'hosts': settings.ES_HOST,
                'verify_certs': True,
                'ca_certs': certifi.where(),
                'timeout': 60.0,
            },
{'fraction_non_alphanumeric': 0.0834597875569044, 'fraction_numerical': 0.0030349013657056147, 'mean_word_length': 2.633608815426997, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5469211', 'n_tokens_mistral': 358, 'n_tokens_neox': 339, 'n_words': 94}