Skip to content

Commit

Permalink
Set Pooling to False (#95)
Browse files Browse the repository at this point in the history
Addresses #85

Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler authored Aug 14, 2024
1 parent c351f3e commit 6c4f4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OrcanodeMonitor/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"OrcanodeMonitorContext": "Server=(localdb)\\mssqllocaldb;Database=OrcanodeMonitorContext-361a3d40-f3a0-4228-92d0-34532be19b05;Trusted_Connection=True;MultipleActiveResultSets=true"
"OrcanodeMonitorContext": "Server=(localdb)\\mssqllocaldb;Database=OrcanodeMonitorContext-361a3d40-f3a0-4228-92d0-34532be19b05;Trusted_Connection=True;MultipleActiveResultSets=true;Pooling=False"
}
}
2 changes: 1 addition & 1 deletion docs/Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following state will be stored per orcanode:

### Configured parameters

**AZURE_SQL_CONNECTIONSTRING**: The connection string for the SQL database to use. Default: Server=(localdb)\mssqllocaldb;Database=OrcanodeMonitorContext-361a3d40-f3a0-4228-92d0-34532be19b05;Trusted_Connection=True;MultipleActiveResultSets=true
**AZURE_SQL_CONNECTIONSTRING**: The connection string for the SQL database to use. To minimize costs, it is important that "Pooling" be set to False. Default: Server=(localdb)\mssqllocaldb;Database=OrcanodeMonitorContext-361a3d40-f3a0-4228-92d0-34532be19b05;Trusted_Connection=True;MultipleActiveResultSets=true;Pooling=False

**ORCASOUND_POLL_FREQUENCY_IN_MINUTES**: Service will poll each orcanode at the configured frequency. Default: 5

Expand Down

0 comments on commit 6c4f4a0

Please sign in to comment.