diff options
author | liamfallon <liam.fallon@est.tech> | 2020-03-25 17:35:43 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-03-25 17:38:25 +0000 |
commit | 4f0708ce15cc62662e3746262e8092913c24906e (patch) | |
tree | 197d835a1631916c618a5a6b9d3ba1f3dae67c0d /plugins/plugins-executor/plugins-executor-jython/src | |
parent | 9aa62b777ddcd25665fdc1544934c133e0124230 (diff) |
Add timeout on Javascript latch awaits
It is possible that the initiation and especially shutdown happens so
fast that the execution thread counts down the latch before the caller
calls await(), in which case the Javascript Rhino thread will hang. This
review adds a timeout on the await calls.
Issue-ID: POLICY-2106
Change-Id: Icfc6d4b478cca62522461c25d61ce9ee7328684a
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'plugins/plugins-executor/plugins-executor-jython/src')
0 files changed, 0 insertions, 0 deletions