diff options
| author | Teddy Wing | 2017-08-25 11:28:12 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-08-25 11:28:12 +0200 | 
| commit | 8c0018c32933eab21645626013a19de3775c927f (patch) | |
| tree | 27457d3cbb2776ec266a798610edcfdf486f8d53 /spec/fixtures | |
| parent | 92484fa903dd7cbf4a40bf6b0b65ed79306c6ae9 (diff) | |
| download | chouette-core-8c0018c32933eab21645626013a19de3775c927f.tar.bz2 | |
NetexImport: Run Java import API call in a thread
While testing imports with Alban, we saw that this request was blocking,
not asynchronous. The Java application apparently didn't figure that it
should close HTTP connections before handling a long-running import job.
In order to get around that on the Rails appliation side, Alban
suggested putting the request in a thread. Works like a charm, and we
respond in a sensible amount of time.
Diffstat (limited to 'spec/fixtures')
0 files changed, 0 insertions, 0 deletions
