When multiple instances of pgAgent are running on the same schema, only
one of the instance can pick up the job to run. Hence - rest of the
instances will never run the job. Hence - the job-thread does not
release the job object.
And, end up leaking the memory.
Releasing the job object from the destructor of the job-thread will
avoid such memory-leak.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgagent.git;a=commitdiff;h=adc49f0a66eae645420f86acd383a75918771bf2
Author: Rob Emery <re-pgsql@codeweavers.net>
Modified Files
--------------
job.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.