Mercurial > stress-tester
changeset 1218:bb727af8a7ee
ScannerEventHandler - bugfix
author | Devel 1 |
---|---|
date | Wed, 24 Jun 2020 13:28:06 +0200 |
parents | 83f0366550e1 |
children | b1c1adbf6538 |
files | stress-tester/src/main/java/com/passus/st/scanner/ScannerEventHandler.java |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/scanner/ScannerEventHandler.java Wed Jun 24 13:27:52 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/scanner/ScannerEventHandler.java Wed Jun 24 13:28:06 2020 +0200 @@ -26,8 +26,10 @@ @Override public void handle(Event event) { - queue.add(event); - + try { + queue.put(event); + } catch (InterruptedException ignore) { + } } @Override