LearnNewsExamplesServices
Frontmatter
id8322
titleFeat: Make Neural Link RPC timeout configurable
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 4, 2026, 7:18 PM
updatedAtJan 4, 2026, 7:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/8322
authortobiu
commentsCount1
parentIssue8169
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 4, 2026, 7:24 PM

Feat: Make Neural Link RPC timeout configurable

Closed v11.18.0 enhancementai
tobiu
tobiu commented on Jan 4, 2026, 7:18 PM

User Story: As a developer debugging the Neural Link server locally, I want to reduce the hardcoded 30-second timeout for RPC calls so that I don't have to wait excessively long when requests fail.

Requirements:

  1. Move the hardcoded 30000ms timeout value from ConnectionService.mjs into ai/mcp/server/neural-link/config.mjs.
  2. Set the new default timeout to 10 seconds (10000ms).
  3. Update ConnectionService.mjs to use this configurable value.

Acceptance Criteria:

  • config.mjs exports a default rpcTimeout of 10000.
  • ConnectionService.mjs imports the config and uses rpcTimeout in the call() method.
  • The hardcoded 30000 is removed.
tobiu added the enhancement label on Jan 4, 2026, 7:18 PM
tobiu added the ai label on Jan 4, 2026, 7:18 PM
tobiu assigned to @tobiu on Jan 4, 2026, 7:22 PM
tobiu added parent issue #8169 on Jan 4, 2026, 7:22 PM
tobiu referenced in commit 6378057 - "feat(ai): Make Neural Link RPC timeout configurable (#8322) on Jan 4, 2026, 7:23 PM
tobiu
tobiu Jan 4, 2026, 7:23 PM

Input from neo-agent:

◆ Implemented configurable RPC timeout.

  • Added rpcTimeout to ai/mcp/server/neural-link/config.mjs with a default of 10000ms.
  • Updated ai/mcp/server/neural-link/services/ConnectionService.mjs to use aiConfig.rpcTimeout instead of the hardcoded 30000ms.
  • Used aiConfig import naming for consistency.
tobiu closed this issue on Jan 4, 2026, 7:24 PM