This commit is contained in:
parent
5bc7cceb5b
commit
33eb50146e
@ -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++)
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ app.UseHttpsRedirection();
|
||||
|
||||
if (BufferFill.FillBuffer("b"))
|
||||
{
|
||||
Console.WriteLine("Начинаю работу.");
|
||||
Console.WriteLine("Ready for work.");
|
||||
app.Run();
|
||||
}
|
||||
else Console.WriteLine("Ошибка буферизации, проверьте доступность базы данных.");
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user