release gcube 3-1-1
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@95942 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f963925dc5
commit
696bcc759d
|
@ -45,9 +45,9 @@ public class EmailNotificationsConsumer extends Thread {
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
_log.debug("Checking Emails Buffer ... ");
|
//_log.debug("Checking Emails Buffer ... ");
|
||||||
if (EmailPlugin.BUFFER_EMAILS != null && EmailPlugin.BUFFER_EMAILS.size() > 0) {
|
if (EmailPlugin.BUFFER_EMAILS != null && EmailPlugin.BUFFER_EMAILS.size() > 0) {
|
||||||
_log.debug("Checking Emails Buffer not empty, sending emails ");
|
_log.debug("Emails Buffer not empty, sending emails ");
|
||||||
Transport t = null;
|
Transport t = null;
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ import com.liferay.portal.util.PortalUtil;
|
||||||
public class EmailPlugin {
|
public class EmailPlugin {
|
||||||
|
|
||||||
private static final Logger _log = LoggerFactory.getLogger(EmailPlugin.class);
|
private static final Logger _log = LoggerFactory.getLogger(EmailPlugin.class);
|
||||||
protected static final int SECONDS2WAIT = 30;
|
protected static final int SECONDS2WAIT = 45;
|
||||||
|
|
||||||
private static EmailPlugin singleton;
|
private static EmailPlugin singleton;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue