@cached_property
    def s3_cache_timeout(self):
        """
        The socket timeout in seconds for connections to Amazon S3 (an integer).

        This value is injected into Boto's configuration to override the
        default socket timeout used for connections to Amazon S3.

        - Environment variable: ``$PIP_ACCEL_S3_TIMEOUT``
        - Configuration option: ``s3-timeout``
        - Default: ``60`` (`Boto's default`_)

        .. _Boto's default: http://boto.readthedocs.org/en/latest/boto_config_tut.html
        """
        value = self.get(property_name='s3_cache_timeout',
                         environment_variable='PIP_ACCEL_S3_TIMEOUT',
                         configuration_option='s3-timeout')
        try:
            n = int(value)
            if n >= 0:
                return n
        except:
            return 60
dataset/ETHPy150Open paylogic/pip-accel/pip_accel/config.py/Config.s3_cache_timeout/original