DEV: 25ms was too short and causing test failures (#9712)

This commit is contained in:
Joffrey JAFFEUX
2020-05-08 21:10:52 +02:00
committed by GitHub
parent b2e4ca968b
commit 5bac2828ee
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ function searchTags(term, categories, limit) {
() => {
resolve(CANCELLED_STATUS);
},
Ember.testing ? 25 : 5000
Ember.testing ? 50 : 5000
);
const debouncedSearch = discourseDebounce((q, cats, resultFunc) => {

View File

@@ -185,7 +185,7 @@ export default function userSearch(options) {
() => {
resolve(CANCELLED_STATUS);
},
Ember.testing ? 25 : 5000
Ember.testing ? 50 : 5000
);
if (skipSearch(term, options.allowEmails)) {