server/test/data/sources_multi
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 23 Oct 2013 14:18:58 +0200
branchstable
changeset 9305 f7a738afc295
parent 6427 c8a5ac2d1eaa
permissions -rw-r--r--
[notification] avoid leaking cnxsets (closes #3243810) When sending notifications, we get each recipient as either an email address or a CWUser. In the latter case, we create a temporary session for that user and use it to send the mail. However, if we later decided to not send the mail after all, we'd leak the session and its cnxset. Add a try block inside the loop to make sure the temporary sessions are closed properly.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
364
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
[system]
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
db-driver   = sqlite
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
adapter     = native
5761
02bccbc4ff1c [test] unittest_multisources: external source shouldn't use the same database as the main repo...
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 1840
diff changeset
     4
db-name     = tmpdb-multi
364
226cbb207859 missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     5
db-encoding = UTF-8