reduces max log batch size to account for claude 100k prompts

This commit is contained in:
nai-degen 2023-06-04 12:42:12 -05:00
parent 176eef34db
commit e6a8c548c2
1 changed files with 2 additions and 2 deletions

View File

@ -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" });