sqlx/tests
Austin Bonander 8f1d8c7e2f
more pool fixes (#1211)
* a task that is marked woken but didn't actually wake before being cancelled will instead wake the next task in the queue

* a task that wakes but doesn't get a connection will put itself back in the queue instead of waiting until it times out with no way to be woken

* the idle reaper now won't run if there are tasks waiting for a connection, and also uses
the proper `SharedPool::release()` to return validated connections to the pool so waiting tasks get woken

closes #622, #1210

(hopefully for good this time)

Signed-off-by: Austin Bonander <austin@launchbadge.com>
2021-05-17 19:24:40 -07:00
..
any fix(pool): always ping connection on release to see if it's still viable 2021-02-27 00:56:08 -08:00
certs update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
keys update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
migrate Edit migrator to make it possible to create static instances 2020-07-23 17:54:05 -04:00
mssql Remove the Done trait 2021-01-12 14:37:44 +01:00
mysql feat(macros): implement query_scalar!() and variants 2021-01-20 22:23:04 -08:00
postgres more pool fixes (#1211) 2021-05-17 19:24:40 -07:00
sqlite test(sqlite): extend it_caches_statements() test 2021-04-15 18:26:06 -07:00
ui Update some postgres trybuild tests 2021-01-12 03:39:10 -08:00
.dockerignore feat(mssql): fix a few bugs and implement Connection::describe 2020-06-07 02:00:31 -07:00
.env feat: introduce docker-compose based testing for running locally against many database combinations 2020-05-30 17:51:55 -07:00
.gitignore update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
docker-compose.yml update todo examples to 0.4 and use migrations 2020-07-18 05:43:16 -07:00
docker.py feat(mysql): support configuring the active charset and collation (via an automatic SET NAMES) 2020-07-20 23:07:22 -07:00
ui-tests.rs feat: introduce docker-compose based testing for running locally against many database combinations 2020-05-30 17:51:55 -07:00
x.py fix(tests): update x.py with new runtime-* features 2020-12-18 21:33:51 -08:00