chore: reduce batch size

This commit is contained in:
Bas950
2024-09-16 22:56:10 +02:00
parent bfb84bb080
commit 9fb32f53ae

View File

@@ -2,7 +2,7 @@ import type { InferInsertModel } from "drizzle-orm";
import { db, onlineUsersIpData } from "../db.js";
import { lookupIp } from "./lookupIp.js";
const batchSize = 10000;
const batchSize = 1000;
export async function insertIpData(
data: Map<string, {