|
|
|
@@ -415,7 +415,7 @@ public class Postback |
|
|
|
try |
|
|
|
{ |
|
|
|
threadsWaitingToPost++; |
|
|
|
myLogger.debug(String.format("Waiting to post report - postqueue size %d, total waiting %d", postQueue.size(), threadsWaitingToPost)); |
|
|
|
myLogger.debug(String.format("Waiting for space in postQueue - size %d, total waiting %d", postQueue.size(), threadsWaitingToPost)); |
|
|
|
postQueue.wait(QUEUE_WAIT * 1000); |
|
|
|
threadsWaitingToPost--; |
|
|
|
} |
|
|
|
@@ -426,7 +426,7 @@ public class Postback |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
myLogger.info("Interrupted while waiting for space to queue report"); |
|
|
|
myLogger.info("Interrupted while waiting for space in postQueue"); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|