fix embeddings truncation
This commit is contained in:
@@ -157,15 +157,6 @@ class RateLimitedQueue {
|
||||
return status;
|
||||
}
|
||||
|
||||
setDelay(ms: number): void {
|
||||
if (!Number.isFinite(ms) || ms < 0) return;
|
||||
this.delayMs = ms;
|
||||
}
|
||||
|
||||
getDelay(): number {
|
||||
return this.delayMs;
|
||||
}
|
||||
|
||||
private async processQueue(): Promise<void> {
|
||||
if (this.isProcessing) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user