diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-10-01 10:12:35 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-10-01 14:00:20 +0200 |
| commit | 673f4aa4a77161dc58e0e1bf97e8f713b1e88491 (patch) | |
| tree | 1e3e6b7e48a32bd847ad766f6668b161e35897fb /addons/web/static/src/js/framework/data.js | |
| parent | 730efcc3df71174d6267392efac527efcd740956 (diff) | |
[FIX] bus: disable longpolling in test mode
In test mode, only one cursor is available, and longpolling will take
it, and not give it back before 60s, causing a phantomjs timeout. This
commit simply return an error when the server is in test mode.
Sadly, I had to patch the web client to prevent logging the error in
this case, because that's the way phantomjs detect if there is a
problem.
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
