This commit is contained in:
2020-05-13 18:35:31 +00:00
parent acb75090a3
commit 17b4658ba0
3 changed files with 5 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)