Increase delay on autocomplete fields
|Assigned To:||Tomer Brisker|
|Target version:||Sprint 28|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/1703|
|Velocity based estimate||-|
Currently every time a letter is pressed in an auto complete field, an AJAX request is fired causing the server to run 3-4 sql queries.
Adding a small delay will cause the request to be fired only once the user stops typing, saving requests and queries in case the user types in several characters in a row.