Prometheus: Refactor labels caching (#20898)

This commit is contained in:
Andrej Ocenas
2019-12-09 09:46:52 +01:00
committed by GitHub
parent 58cffde0f2
commit a7f4e4c56a
5 changed files with 153 additions and 112 deletions

View File

@@ -10,7 +10,7 @@ import { Typeahead } from '../components/Typeahead/Typeahead';
import { CompletionItem, TypeaheadOutput, TypeaheadInput, SuggestionsState } from '../types/completion';
import { makeFragment } from '../utils/slate';
export const TYPEAHEAD_DEBOUNCE = 100;
export const TYPEAHEAD_DEBOUNCE = 250;
// Commands added to the editor by this plugin.
interface SuggestionsPluginCommands {