Skip to content

Commit 86e33fc

Browse files
committed
docs: update example connection strings to include timeout
1 parent e41761e commit 86e33fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ASPNETCORE_ENVIRONMENT=Production
2-
ConnectionStrings__umbracoDbDSN="Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True"
2+
ConnectionStrings__umbracoDbDSN="Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True;Default Timeout=60"
33
SGFDevs__AzureBlobStorageKey=
44
SGFDevs__NewsletterEndpoint=
55
SGFDevs__NewsletterListId=

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ There are a couple of ways to run this project depending on if you have a .NET I
2020
- Copy `.env.example` to `.env`
2121
- Navigate to the SgfDevs project folder `cd SgfDevs`
2222
- User the `dotnet user-secrets` command to set your connection string
23-
- `dotnet user-secrets set "ConnectionStrings:umbracoDbDSN" "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True"`
23+
- `dotnet user-secrets set "ConnectionStrings:umbracoDbDSN" "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True;Default Timeout=60"`
2424
- `dotnet run`
2525
- Open the URL that's printed in the console in your browser
2626

@@ -29,7 +29,7 @@ There are a couple of ways to run this project depending on if you have a .NET I
2929
- Update your .NET User Secrets with a connection string
3030
- Most IDEs have a shortcut to navigate to this file
3131
- Reference `appsettings.json` for an example of the `ConnectionStrings` object
32-
- Set `umbracoDbDSN` to something like `Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True`
32+
- Set `umbracoDbDSN` to something like `Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True;Default Timeout=60`
3333
- You can also fall back to the CLI tools instructions
3434
- Your IDE will likely have some kind of run option, run this and it should launch your browser
3535

0 commit comments

Comments
 (0)