This commit is contained in:
@@ -29,9 +29,9 @@ namespace AyaNova.Generator
|
||||
private readonly IServiceProvider provider;
|
||||
|
||||
#if(DEBUG)
|
||||
private const int GENERATE_SECONDS = 60;
|
||||
private const int GENERATE_SECONDS = 15;
|
||||
#else
|
||||
private const int GENERATE_SECONDS = 60;
|
||||
private const int GENERATE_SECONDS = 30;
|
||||
#endif
|
||||
|
||||
// public GeneratorService(ILogger<GeneratorService> logger, AyContext dbcontext, ApiServerState apiServerState)
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace AyaNova.Util
|
||||
apiServerState.SetOpsOnly("Seeding database");
|
||||
//Erase all the data except for the license, schema and the manager user
|
||||
await DbUtil.EmptyBizDataFromDatabaseForSeedingOrImportingAsync(log);
|
||||
apiServerState.SetOpsOnly("Seeding database");
|
||||
apiServerState.SetOpsOnly("Seeding database with sample data");
|
||||
|
||||
// //Set the default user options of the manager account
|
||||
// using (var cct = ServiceProviderProvider.DBContext)
|
||||
|
||||
Reference in New Issue
Block a user