reduces max log batch size to account for claude 100k prompts
This commit is contained in:
parent
176eef34db
commit
e6a8c548c2
|
@ -5,8 +5,8 @@ import { logger } from "../logger";
|
|||
import { PromptLogEntry } from ".";
|
||||
import { sheets } from "./backends";
|
||||
|
||||
const FLUSH_INTERVAL = 1000 * 20; // 20 seconds
|
||||
const MAX_BATCH_SIZE = 100;
|
||||
const FLUSH_INTERVAL = 1000 * 10;
|
||||
const MAX_BATCH_SIZE = 25;
|
||||
|
||||
const queue: PromptLogEntry[] = [];
|
||||
const log = logger.child({ module: "log-queue" });
|
||||
|
|
Loading…
Reference in New Issue