You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have a pool of connections which we use for queries, which will open up more concurrency. We should also have a single, separate connection used for updates (SqlStorage::transaction should use this connection). Since queries will no longer use the same connection as updates, there is no longer a risk of concurrent queries seeing a partially updated state. Thus, this is a step towards #400 .
Sqlx has connection pooling built in, so it may be best to wait and do this after #271
The text was updated successfully, but these errors were encountered:
We should have a pool of connections which we use for queries, which will open up more concurrency. We should also have a single, separate connection used for updates (
SqlStorage::transaction
should use this connection). Since queries will no longer use the same connection as updates, there is no longer a risk of concurrent queries seeing a partially updated state. Thus, this is a step towards #400 .Sqlx has connection pooling built in, so it may be best to wait and do this after #271
The text was updated successfully, but these errors were encountered: