Skip to content

Allow configurable timeouts for PrepareData plugins #2081

@LukeAVanDrie

Description

@LukeAVanDrie

What would you like to be added:

Currently, the timeout for PrepareData plugins is hardcoded to 400ms in pkg/epp/handlers/director.go:

const prepareDataTimeout = 400 * time.Millisecond

This should be exposed via the Director configuration, potentially per-plugin or global.

Why is this needed:

Different plugins (e.g., semantic retrieval, RAG preprocessing) have vastly different latency profiles. A hardcoded 400ms is too aggressive for some and too loose for others.

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions