Merge pull request #4734 from tchak/select-timeout

Add a timeout to select2 queries
This commit is contained in:
Keirua 2020-02-03 15:41:53 +01:00 committed by GitHub
commit 2beb63fadb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,7 @@ const baseOptions = {
const baseAjaxOptions = {
delay: 250,
timeout: 10 * 1000, // 10 sec
cache: true,
data({ term: nom }) {
return {