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
ATM our DB has restricted mount of connections (20) but is going to be used intense by many users. |> Sql.connect seems to create new connection each time it;s used so we're risking to reach the limit at the moment we release the feature. Alternatively, we can open a connection by let connection = new NpgsqlConnection(getConnectionString) and keep it open, but is it a good idea? What will happen if users use the same connection?
The text was updated successfully, but these errors were encountered:
ATM our DB has restricted mount of connections (20) but is going to be used intense by many users.
|> Sql.connect
seems to create new connection each time it;s used so we're risking to reach the limit at the moment we release the feature. Alternatively, we can open a connection bylet connection = new NpgsqlConnection(getConnectionString)
and keep it open, but is it a good idea? What will happen if users use the same connection?The text was updated successfully, but these errors were encountered: