Commit 6e252af
refactor(config): rename AddDbContextPool to AddPlayerDbContext; add retry (#249)
- Rename AddDbContextPool -> AddPlayerDbContext to follow the Add{Feature}
naming convention and avoid shadowing EF Core's own AddDbContextPool;
update call site in Program.cs accordingly
- Add EnableRetryOnFailure() to the Npgsql path so MigrateAsync() and
subsequent queries survive transient connection blips at startup
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f937601 commit 6e252af
2 files changed
Lines changed: 4 additions & 4 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments