Pārlūkot izejas kodu

Remove the offending 'synchronized' modifier on postJobStatus method which is not compatible with the scheme to require the service threads to wait for space in the postQueue in order to post reports. Without removing this modifier, the CommEngine is likely to freeze on large broadcasts.

tags/Production_2018_09_22
ymlam pirms 7 gadiem
vecāks
revīzija
65c1d3ddde
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/altk/comm/engine/Broadcast.java

+ 2
- 2
src/altk/comm/engine/Broadcast.java Parādīt failu

@@ -1095,7 +1095,7 @@ public abstract class Broadcast
* @param jobStatus
* @param errorText
*/
public synchronized void postJobStatus(Job job)
public void postJobStatus(Job job)
{
postJobStatus(job, -1);
/*
@@ -1135,7 +1135,7 @@ public abstract class Broadcast
protected void postJobStatus(Job job, long rescheduleTimeMS)
{
//postJobStatus(job);
logJobCount("Enering postJobStatus");
logJobCount("Entering postJobStatus");
myLogger.debug(job.toString() + ": rescheduleTimeMS " + rescheduleTimeMS);
if (postBack != null)
{


Notiek ielāde…
Atcelt
Saglabāt