From 1fd04bc78acb73765b688dc2037a2922a980397f Mon Sep 17 00:00:00 2001 From: esoe Date: Sat, 12 Nov 2022 19:30:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=20=D0=B1=D0=BE=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B5=20=D1=82=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/ru/molokoin/sourceListener/GitListener.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/ru/molokoin/sourceListener/GitListener.java b/src/main/java/ru/molokoin/sourceListener/GitListener.java index 573afee..c23d17e 100644 --- a/src/main/java/ru/molokoin/sourceListener/GitListener.java +++ b/src/main/java/ru/molokoin/sourceListener/GitListener.java @@ -5,6 +5,7 @@ import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Enumeration; +import java.util.concurrent.DelayQueue; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; @@ -73,6 +74,12 @@ public class GitListener { System.out.println(e.getMessage()); } } + try { + Thread.sleep(2000); + } catch (InterruptedException e) { + System.out.println("Проспал!!! Ошибка!!!"); + e.printStackTrace(); + } } } @@ -138,7 +145,5 @@ public class GitListener { git = GitServiceFace.copy(ear.getOpt().getGitLink(), ear.getOpt().getGitLocalPath()); } ear.live(git); - - } }