mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 20:13:52 +00:00
docs: update thread pool
This commit is contained in:
1 parent
49dab27c85
commit
16fbd26a42
4 files changed
+137
-101
No files matched your search
@@ -45,7 +45,7 @@ public class Worker implements Runnable {
|
||||
try {
|
||||
Thread.sleep(task.getTimeMs());
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
LOGGER.error("Error occurred: ", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user