Page 1 of 1

Re: Program freeze when using ZPGEventAlerter

Posted: 09.10.2019, 08:20
by marsupilami
Hello,
DarkXaoc wrote:There is a program using the Components of the Indy10 version package. The program creates TCPServer and exchanges with clients.
It also uses a connection to the PostgreSQL database through the Components of the package Zeos version 7.3.
To track events in the database I use the component of the Zeos package - ZPGEventAlerter (The component allows you to receive both an event notification and some information about the changes that have occurred).
I use queue and Thread threads for event processing.
Does your program honor the limitation that a TZConnection object and all objects that use this connection object can only be used by one thread? I.e. do you have a separate connection per thread in that program?

Best regards,

Jan