diff --git a/BufferControllers/BufferFill.cs b/BufferControllers/BufferFill.cs index a912b26..95fa0fb 100644 --- a/BufferControllers/BufferFill.cs +++ b/BufferControllers/BufferFill.cs @@ -10,13 +10,13 @@ namespace NeDvachAPI.BufferControllers { List 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++) { diff --git a/Program.cs b/Program.cs index 028d38c..69b6c7f 100644 --- a/Program.cs +++ b/Program.cs @@ -34,7 +34,7 @@ app.UseHttpsRedirection(); if (BufferFill.FillBuffer("b")) { - Console.WriteLine("Начинаю работу."); + Console.WriteLine("Ready for work."); app.Run(); } else Console.WriteLine("Ошибка буферизации, проверьте доступность базы данных."); diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index cd5c3bf..0973904 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -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",