Changes in iknow-api/Program.cs [002cf5f:1b20b22]
- File:
-
- 1 edited
-
iknow-api/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Program.cs
r002cf5f r1b20b22 66 66 // Postgres type by name; PgEnumLabels covers the members whose label is not 67 67 // simply the lowercased member name. 68 // AddDbContextPool reuses the DbContext instances themselves; the connections 69 // underneath them are pooled separately by Npgsql, sized in the connection 70 // string. Both matter here because every physical connection is one more 71 // channel through the SSH tunnel. 72 builder.Services.AddDbContextPool<AppDbContext>(options => 68 builder.Services.AddDbContext<AppDbContext>(options => 73 69 options.UseNpgsql( 74 70 builder.Configuration.GetConnectionString("DefaultConnection"),
Note:
See TracChangeset
for help on using the changeset viewer.
