> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# إعدادات الجلسة لـ connect_timeout_*

> إعدادات جلسة ClickHouse في المجموعة المُولَّدة connect_timeout_*.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>النوع</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>القيمة الافتراضية</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          يمكن تغييره دون إعادة التشغيل
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

هذه الإعدادات متوفّرة في [system.settings](/docs/ar/reference/system-tables/settings)، وهي مُولَّدة تلقائيًا من [الشيفرة المصدرية](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<div id="connect_timeout">
  ## connect\_timeout
</div>

<SettingsInfoBlock type="ثوانٍ" default_value="10" />

مهلة الاتصال في حال عدم وجود نُسخ متماثلة.

<div id="connect_timeout_with_failover_ms">
  ## connect\_timeout\_with\_failover\_ms
</div>

<SettingsInfoBlock type="مللي ثانية" default_value="1000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "23.4"},{"label": "1000"},{"label": "زيادة مهلة الاتصال الافتراضية بسبب الاتصال غير المتزامن"}]}]} />

مهلة الاتصال، بالمللي ثانية، للاتصال بخادم بعيد ضمن محرك الجدول Distributed، إذا استُخدم القسمان 'shard' و 'replica' في تعريف العنقود.
إذا تعذّر الاتصال، تُجرى عدة محاولات للاتصال بنسخ متماثلة مختلفة.

<div id="connect_timeout_with_failover_secure_ms">
  ## connect\_timeout\_with\_failover\_secure\_ms
</div>

<SettingsInfoBlock type="مللي ثانية" default_value="1000" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "23.4"},{"label": "1000"},{"label": "زيادة مهلة الاتصال الآمن الافتراضية بسبب الاتصال غير المتزامن"}]}]} />

مهلة الاتصال لاختيار أول نسخة متماثلة سليمة (للاتصالات الآمنة).
