diff --git a/devdocs/todo.txt b/devdocs/todo.txt index e7674980..c8f5766d 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -1,8 +1,9 @@ PRIORITY - ALWAYS Lowest level stuff first =-=-=-=- +todo: why the fuck does it take so long fora job to start? Waht is the timer to check set to? + -todo: check non-ops user can login during seeding operation todo: BizRoles.cs seems to get hammered on every single request, is it efficient? - Why is it not cached in some way? - Look into Lazy initialization (i.e. private static readonly Lazy> mappings ....etc) diff --git a/server/AyaNova/generator/Generate.cs b/server/AyaNova/generator/Generate.cs index 7b50872f..65dbce71 100644 --- a/server/AyaNova/generator/Generate.cs +++ b/server/AyaNova/generator/Generate.cs @@ -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 logger, AyContext dbcontext, ApiServerState apiServerState) diff --git a/server/AyaNova/util/Seeder.cs b/server/AyaNova/util/Seeder.cs index ad879e74..a0bb92aa 100644 --- a/server/AyaNova/util/Seeder.cs +++ b/server/AyaNova/util/Seeder.cs @@ -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)