Use MySqlConnector for async I/O
bgrainger opened this issue · 1 comments
bgrainger commented
The EventStorage code uses ExecuteAsync
, etc.. It's a long-standing bug in MySql.Data (bug 70111) that async I/O is not implemented correctly; thus this method will actually run synchronously. (See also here and here on Stack Overflow.)
To fix this, you could switch to https://github.com/mysql-net/MySqlConnector, an OSS replacement for MySql.Data that supports true asynchronous I/O.
If you're interested in this, I'd be happy to open a PR.
u-less commented
@bgrainger I'll start replacing as soon as possible.