Skip to content

Commit f7e9337

Browse files
committed
Reduce token counting notification timeout to 1 second
1 parent 11fc846 commit f7e9337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/editor/src/context/providers/workspace/modules/token-calculator.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class TokenCalculator implements vscode.Disposable {
285285

286286
let timeout_handle: NodeJS.Timeout
287287
const timeout_promise = new Promise<void>((resolve) => {
288-
timeout_handle = setTimeout(() => resolve(), 3000)
288+
timeout_handle = setTimeout(() => resolve(), 1000)
289289
})
290290

291291
let is_completed = false

0 commit comments

Comments
 (0)