88
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
RakVhalate 2023-01-30 11:02:30 +10:00
parent 5bc7cceb5b
commit 33eb50146e
3 changed files with 4 additions and 4 deletions

View File

@ -10,13 +10,13 @@ namespace NeDvachAPI.BufferControllers
{
List<Post> Previews = DBchat.ThreadsList(board);
APIThreadBuffer.WriteThreadPreviewsBuffer(Previews);
Console.WriteLine("Заполняю буфер оп-постами " + Previews.Count);
Console.WriteLine("Adding OP-posts to buffer");
for (int threadId = 1; threadId <= Previews.Count; threadId++)
{
APIThreadBuffer.AppendThreadsBuffer(DBchat.PostsList(board, threadId));
}
Console.WriteLine($@"Буферизую треды с {1} по {Previews.Count}.");
Console.WriteLine($@"Buffering threads {1} to {Previews.Count}.");
for (int preview = 0; preview < Previews.Count; preview++)
{

View File

@ -34,7 +34,7 @@ app.UseHttpsRedirection();
if (BufferFill.FillBuffer("b"))
{
Console.WriteLine("Начинаю работу.");
Console.WriteLine("Ready for work.");
app.Run();
}
else Console.WriteLine("Ошибка буферизации, проверьте доступность базы данных.");

View File

@ -7,7 +7,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
},
"dotnetRunMessages": true,
"applicationUrl": "https://0.0.0.0:7141;https://0.0.0.0:5141"
"applicationUrl": "https://0.0.0.0:7141"
},
"IIS Express": {
"commandName": "IISExpress",