Skip to content

TCF (0.9.0): introduce dial_timeout filed in destination for gateways pool #5113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Tracked by #5008
themilchenko opened this issue May 15, 2025 · 1 comment
Open
Tracked by #5008
Assignees
Labels
reference [location] Tarantool manual, Reference part TCF

Comments

@themilchenko
Copy link

themilchenko commented May 15, 2025

Product: TCF
Since: 0.9.0
Audience/target: admin
Root document: where to add or update documentation
SME: @themilchenko

Details

В destination появились новые опции в полях gateway и gateways (для каждого элемента списка) - dial_timeout. Опция обозначает время (таймаут), в течение которого клиент destination пытается подключиться к соответствующему инстансу gateway по gRPC.

Формат значения - строка. Указывается число, затем размерность. Например, "6s", "1m", "500ms" и т.д.

В случае, если эта опция не указывается, используется значение по умолчанию: 5 секунд.

Пример конфигурации в случае, когда один gateway:

destination:\
  gateway:\
    host: localhost
    port: 10080
    dial_timeout: "3s"

Пример конфигурации в случае, когда несколько инстансов (пул) gateway:

destination:\
  gateways:\
  - host: localhost
    port: 10080
    dial_timeout: "3s"
@xuniq xuniq mentioned this issue May 19, 2025
4 tasks
@xuniq xuniq changed the title TCF: introduce dial_timeout filed in destination for gateways pool TCF (0.9.0): introduce dial_timeout filed in destination for gateways pool May 26, 2025
@maryiaLichko
Copy link
Contributor

UPD: branch successfully moved to GitLab repo

@maryiaLichko maryiaLichko added the reference [location] Tarantool manual, Reference part label Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reference [location] Tarantool manual, Reference part TCF
Projects
None yet
Development

No branches or pull requests

2 participants