Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ADO.NET: DbConnection.ConnectionTimeout not overridden #137

Copy link
Copy link

Description

@DaveRMaltby
Issue body actions

Summary

DbConnection.ConnectionTimeout is a virtual property (defaults to 15 seconds) that is not overridden in FileConnection. For file-based providers, connection timeout should reflect the time allowed to open/parse a file.

What's Needed

Override ConnectionTimeout in FileConnection to:

  1. Return a configurable timeout value
  2. Add a Connection Timeout keyword to the connection string builders
  3. Actually enforce the timeout during Open() (e.g., cancel file parsing if it exceeds the timeout)

Current Behavior

Returns the default 15 seconds from the base class, but this value is never checked or enforced during file operations.

Standard Reference

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredDeferred — not addressing nowDeferred — not addressing now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.