mooli tayer has posted comments on this change.

Change subject: tools: notifier - simple first match include/exclude.
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/24018/2/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/transport/mail/SMTP.java
File 
backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/transport/mail/SMTP.java:

Line 90:                 errorMessage = ex.getMessage();
Line 91:             }
Line 92: 
Line 93:             try {
Line 94:                 Thread.sleep(30000);
This file used to be EventMailSender.java (is there any way to tell git that?) 

It doesn't make sense anymore to suspend our only thread 
for 30 sec. need a different solution (suspend for less? Thread for each 
transport?)
Line 95:             } catch (InterruptedException e) {
Line 96:                 log.error("Failed to suspend thread for 30 seconds 
while trying to resend a mail message.", e);
Line 97:             }
Line 98:             attempts++;


-- 
To view, visit http://gerrit.ovirt.org/24018
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia0b94ee8665ff8030b36b463207e50beea44b47d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <mta...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Barak Azulay <bazu...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: mooli tayer <mta...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to