Skip to content

Commit 517371e

Browse files
committed
Fixed StartupProbe
1 parent 7b97613 commit 517371e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.devops/workshop-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ steps:
7171
- containerPort: 80
7272
startupProbe:
7373
httpGet:
74-
path: /graphql/?query=%7Bsessions%7Bnodes%7Btitle%7D%7D%7D
74+
path: /graphql?query=%7Bsessions%7Bnodes%7Btitle%7D%7D%7D
7575
port: 80
7676
failureThreshold: 30
7777
periodSeconds: 10

code/complete/GraphQL/Startup.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ public void ConfigureServices(IServiceCollection services)
7373
.AddDataLoader<SpeakerByIdDataLoader>()
7474
.AddDataLoader<TrackByIdDataLoader>()
7575

76-
.SetPagingOptions(new PagingOptions
77-
{
78-
RequirePagingBoundaries = true
79-
})
80-
8176
// we make sure that the db exists and prefill it with conference data.
8277
.EnsureDatabaseIsCreated()
8378

0 commit comments

Comments
 (0)