Changes in iknow-api/Program.cs [1b20b22:002cf5f]
- File:
-
- 1 edited
-
iknow-api/Program.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Program.cs
r1b20b22 r002cf5f 66 66 // Postgres type by name; PgEnumLabels covers the members whose label is not 67 67 // simply the lowercased member name. 68 builder.Services.AddDbContext<AppDbContext>(options => 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 => 69 73 options.UseNpgsql( 70 74 builder.Configuration.GetConnectionString("DefaultConnection"),
Note:
See TracChangeset
for help on using the changeset viewer.
