Skip to content
Snippets Groups Projects
Commit 91ee8d4e authored by srosse's avatar srosse
Browse files

OO-4753: remove wait in ranges delivery

parent d7419cb2
No related branches found
No related tags found
No related merge requests found
...@@ -259,7 +259,6 @@ public class ServletUtil { ...@@ -259,7 +259,6 @@ public class ServletUtil {
try(InputStream istream = (resourceInputStream instanceof BufferedInputStream) try(InputStream istream = (resourceInputStream instanceof BufferedInputStream)
? resourceInputStream : new BufferedInputStream(resourceInputStream, bufferSize)) { ? resourceInputStream : new BufferedInputStream(resourceInputStream, bufferSize)) {
stats.incrementConcurrentStreamCounter(); stats.incrementConcurrentStreamCounter();
Thread.sleep(5000);
exception = copyRange(istream, ostream, range.start, range.end, bufferSize); exception = copyRange(istream, ostream, range.start, range.end, bufferSize);
} catch(IOException e) { } catch(IOException e) {
handleIOException("Deliver range of data", e); handleIOException("Deliver range of data", e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment