Sha256: c714c1dce6873b2cd170594351c62130fd64d47199ad4b4820ec1c616baaf8b7

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 KB

Contents

/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
 *     Copyright 2020 Couchbase, Inc.
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

#pragma once

#include <chrono>

namespace couchbase::timeout_defaults
{
constexpr std::chrono::milliseconds connect_timeout{ 10'000 };
constexpr std::chrono::milliseconds key_value_timeout{ 2'500 };
constexpr std::chrono::milliseconds key_value_durable_timeout{ 10'000 };
constexpr std::chrono::milliseconds view_timeout{ 75'000 };
constexpr std::chrono::milliseconds query_timeout{ 75'000 };
constexpr std::chrono::milliseconds analytics_timeout{ 75'000 };
constexpr std::chrono::milliseconds search_timeout{ 75'000 };
constexpr std::chrono::milliseconds management_timeout{ 75'000 };

constexpr std::chrono::milliseconds dns_srv_timeout{ 500 };
} // namespace couchbase::timeout_defaults

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.5-x86_64-linux ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.5-universal-darwin-19 ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.5-x86_64-darwin-19 ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.5 ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.4-x86_64-linux ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/couchbase/timeout_defaults.hxx
couchbase-3.0.0.alpha.4 ext/couchbase/timeout_defaults.hxx