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

This commit is contained in:
RakVhalate 2023-01-29 22:58:53 +10:00
parent af0d4a29ee
commit 5bc7cceb5b
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ namespace NeDvachAPI.BufferControllers
{
List<Post> Previews = DBchat.ThreadsList(board);
APIThreadBuffer.WriteThreadPreviewsBuffer(Previews);
Console.WriteLine("Заполняю буфер оп-постами");
Console.WriteLine("Заполняю буфер оп-постами " + Previews.Count);
for (int threadId = 1; threadId <= Previews.Count; threadId++)
{

View File

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