(RunGnuplot rungnuplot, HttpQuery query)
| 292 | } |
| 293 | |
| 294 | private void execGnuplot(RunGnuplot rungnuplot, HttpQuery query) { |
| 295 | try { |
| 296 | gnuplot.execute(rungnuplot); |
| 297 | } catch (RejectedExecutionException e) { |
| 298 | query.internalError(new Exception("Too many requests pending," |
| 299 | + " please try again later", e)); |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | /** |
| 304 | * Decides how long we're going to allow the client to cache our response. |
no test coverage detected