Skip to content

feat: per-call timeout for synchronous method calls#6

Open
osmaczko wants to merge 1 commit into
new_api_testfrom
feat/sync-call-timeout
Open

feat: per-call timeout for synchronous method calls#6
osmaczko wants to merge 1 commit into
new_api_testfrom
feat/sync-call-timeout

Conversation

@osmaczko

Copy link
Copy Markdown

Sync calls used a fixed reply timeout, but some module methods legitimately block longer (e.g. a delivery node bootstrapping its network connectivity), and the right budget is known only to the caller. Expose the timeout per call instead of widening the global ceiling for every method.

  • LogosCoreClient::callMethodSync takes a Timeout (default unchanged)
  • C FFI logos_sdk_call_method_sync gains timeout_ms (<= 0 = default)

Sync calls used a fixed reply timeout, but some module methods
legitimately block longer (e.g. a delivery node bootstrapping its
network connectivity), and the right budget is known only to the
caller. Expose the timeout per call instead of widening the global
ceiling for every method.

- LogosCoreClient::callMethodSync takes a Timeout (default unchanged)
- C FFI logos_sdk_call_method_sync gains timeout_ms (<= 0 = default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant