OSDN Git Service

通常のメッセージではプログレスバー表示を行わない
[coroid/inqubus.git] / frontend / src / saccubus / worker / impl / download / Download.java
index 044ce2c..5506f58 100644 (file)
@@ -260,7 +260,7 @@ public class Download extends Worker<DownloadResult, DownloadProgress> {
             // TODO 30秒間隔はコンフィグ設定できた方が良い
             final long needSleep = (30 * 1000L) - (now - lastStartTime);
             if(needSleep > 0L) {
-                publish(new DownloadProgress(DownloadStatus.PROCESS, 0.0, "過剰アクセス抑制待機 " + needSleep / 1000));
+                publish(new DownloadProgress(DownloadStatus.PROCESS, -1.0, "過剰アクセス抑制待機 " + needSleep / 1000));
                 Thread.sleep(needSleep);
             }
             lastStartTime = new Date().getTime();