Skip to content

Commit

Permalink
[BUG_FIX]: Executor thread not set after <some value> ms - intermitte…
Browse files Browse the repository at this point in the history
…ntly javadelight#75

> Fixed issue my adding additional 100ms delay to get the thread monitor instance
  • Loading branch information
Srinivasa Chintalapati authored and Srinivasa Chintalapati committed Feb 11, 2019
1 parent 48450c4 commit 420aaff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void run() {
// wait, for threadToMonitor to be set in JS evaluator thread
synchronized (monitor) {
if (threadToMonitor == null) {
monitor.wait(maxCPUTime / MILI_TO_NANO);
monitor.wait((maxCPUTime + 100) / MILI_TO_NANO);
}
}
if (threadToMonitor == null) {
Expand Down

0 comments on commit 420aaff

Please sign in to comment.