**VOLATILE** This API is subject to change at any time. The WAN Development profile sets various timeout options that are useful when develoption in a WAN environment.
| 214 | |
| 215 | |
| 216 | class WanDevelopmentProfile(ConfigProfile): |
| 217 | """ |
| 218 | **VOLATILE** This API is subject to change at any time. |
| 219 | |
| 220 | The WAN Development profile sets various timeout options that are useful when develoption in a WAN environment. |
| 221 | """ |
| 222 | |
| 223 | def __init__(self): |
| 224 | super().__init__() |
| 225 | |
| 226 | def apply(self, |
| 227 | options # type: ClusterOptions |
| 228 | ) -> None: |
| 229 | # Need to use keys in couchbase.logic.ClusterTimeoutOptionsBase._VALID_OPTS |
| 230 | options['kv_timeout'] = timedelta(seconds=20) |
| 231 | options['kv_durable_timeout'] = timedelta(seconds=20) |
| 232 | options['connect_timeout'] = timedelta(seconds=20) |
| 233 | options['analytics_timeout'] = timedelta(seconds=120) |
| 234 | options['query_timeout'] = timedelta(seconds=120) |
| 235 | options['search_timeout'] = timedelta(seconds=120) |
| 236 | options['management_timeout'] = timedelta(seconds=120) |
| 237 | options['views_timeout'] = timedelta(seconds=120) |
| 238 | options['dns_srv_timeout'] = timedelta(seconds=20) # time to make DNS-SRV query |
| 239 | options['resolve_timeout'] = timedelta(seconds=20) # time to resolve hostnames |
| 240 | options['bootstrap_timeout'] = timedelta(seconds=120) # overall bootstrap timeout |
| 241 | |
| 242 | |
| 243 | class ConfigProfiles(): |