-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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);

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels