Projet

Général

Profil

0001-afterjobs-make-sure-postgresql-connection-is-not-reu.patch

Frédéric Péters, 25 mai 2018 09:27

Télécharger (891 octets)

Voir les différences:

Subject: [PATCH] afterjobs: make sure postgresql connection is not reused in
 thread (#24078)

 wcs/qommon/http_response.py | 3 +++
 1 file changed, 3 insertions(+)
wcs/qommon/http_response.py
148 148
        if not self.after_jobs:
149 149
            return
150 150

  
151
        # make sure postgresql connection is not reused in thread
152
        get_publisher().pgconn = None
153

  
151 154
        for job, job_function in self.after_jobs:
152 155
            if job.completion_time:
153 156
                continue
154
-