Not disconnect after performing the database connection request

lioumangdean

Client
Регистрация
25.05.2021
Сообщения
42
Благодарностей
4
Баллы
8
I found that after using the database request, the module did not automatically disconnect from the database. I found this problem after performing many tasks. They will reside in the Mysql session, and excessive sleep will cause the server to slow down.
Now I can only use the C# command to end the connection, but I think the request task in the module is a one-time, please include the disconnection in it, otherwise I have to add a disconnected C# command after each request, which feels very unpleasant Convenience
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 215
Благодарностей
5 843
Баллы
113
This is the bug that database connect not closed automatically, since working with database action block is supposed to close connection.
 
  • Спасибо
Реакции: lioumangdean

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 215
Благодарностей
5 843
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)