Pārlūkot izejas kodu

Do not requeue report as this may lead to a dead lock. It should retry by itself.

tags/CommEngine-0.0.1
ymlam pirms 7 gadiem
vecāks
revīzija
dad895d0ac
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      src/altk/comm/engine/postback/PostBack.java

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

@@ -142,12 +142,14 @@ public class PostBack
break;
case SERVER_IO_ERROR:
/* Should not requeue report for this may lead to dead lock on this queu.
// TODO: Limit retries, using rate limiting. Posting can be recovered using the activity log.
// Re-queue these reports
for (String rpt : reportList)
{
queueReport(rpt);
}
*/
// Sleep for a while before retrying this PostBack server.
CommonLogger.alarm.warn("Caught server IO error. sleep for " + POSTBACK_SERVER_WAIT_TIME + " seconds");
try


Notiek ielāde…
Atcelt
Saglabāt