Skip to content

MaxConnections has no effect #2

@JDongKhan

Description

@JDongKhan

1、If there are more than 10 connections at the same time, such as 100, it will be abnormal and causing the database connection to become full.

2、doWhile is occupying CPU and causing conn.execute to not return.

await Future.doWhile(() => idleConnectionsQty == 0); 
  final result = await conn.execute(query, params, iterable);
      _releaseConnection(conn);
Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions