2002/07/15 23:12:28
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:48:51 +0000 (06:48 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:48:51 +0000 (06:48 +0000)
darcs-hash:20040130064851-2ba56-ea01869ed0013c016a46182c0cbb43671f622291.gz

src/org/xwt/MessageQueue.java

index e395d14..b5f7fde 100644 (file)
@@ -124,15 +124,15 @@ public class MessageQueue extends Thread {
                         what = "background thread";
                     } else {
                         cx = Context.getContextForThread(MessageQueue.singleton);
-                        what = Main.initializationComplete ? "trap" : "script";
+                        what = "script";
                     }
-                    if (Log.on) Log.log(this, "WARNING: executing same " + what + " for " + (System.currentTimeMillis() - t) / 1000 + "s" +
+                    if (Log.on) Log.log(this, "note: executing same " + what + " for " + (System.currentTimeMillis() - t) / 1000 + "s" +
                                         " at " + cx.interpreterSourceFile + ":" + cx.interpreterLine);
                 } else {
                     m = MessageQueue.currentlyPerforming;
                     t = System.currentTimeMillis();
                 }
-                try { Thread.sleep(Main.initializationComplete ? 1000 : 15000); } catch (Exception e) { }
+                try { Thread.sleep(1000); } catch (Exception e) { }
             }
         }
     }