Skip to content

Commit d609ddb

Browse files
committed
Update realtime suggestion debounce to minimum 0.25
1 parent e09d808 commit d609ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Sources/Service/RealtimeSuggestionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public actor RealtimeSuggestionController {
142142
func triggerPrefetchDebounced(force: Bool = false) {
143143
inflightPrefetchTask = Task(priority: .utility) { @WorkspaceActor in
144144
try? await Task.sleep(nanoseconds: UInt64(
145-
max(UserDefaults.shared.value(for: \.realtimeSuggestionDebounce), 0.15)
145+
max(UserDefaults.shared.value(for: \.realtimeSuggestionDebounce), 0.25)
146146
* 1_000_000_000
147147
))
148148

0 commit comments

Comments
 (0)