Merge faf43a2202 into 858bd7c95c
This commit is contained in:
commit
78b0aacb90
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ public static class DiConfig
|
||||||
throw new("Invalid database path found in appSettings");
|
throw new("Invalid database path found in appSettings");
|
||||||
}
|
}
|
||||||
|
|
||||||
var connectionString = $"Data Source={appSettings.Database.Path};Cache=Shared;Pooling=True;Command Timeout=30";
|
var connectionString = $"Data Source={appSettings.Database.Path};Cache=Private;Pooling=True;Command Timeout=30";
|
||||||
services.AddDbContext<DataContext>(options => options.UseSqlite(connectionString));
|
services.AddDbContext<DataContext>(options => options.UseSqlite(connectionString));
|
||||||
|
|
||||||
services.AddScoped<DownloadData>();
|
services.AddScoped<DownloadData>();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue