mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +00:00
remove consoles
This commit is contained in:
@@ -350,7 +350,6 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
|
|
||||||
// Get all projects that need kickouts in a single query
|
// Get all projects that need kickouts in a single query
|
||||||
const projectsNeedingKickouts = await getProjectsNeedingKickouts(knex);
|
const projectsNeedingKickouts = await getProjectsNeedingKickouts(knex);
|
||||||
console.log("GOT PROJECTS", projectsNeedingKickouts.length);
|
|
||||||
|
|
||||||
// Process projects in batches to avoid overwhelming the database
|
// Process projects in batches to avoid overwhelming the database
|
||||||
for (let i = 0; i < projectsNeedingKickouts.length; i += projectsNeedingKickouts.length) {
|
for (let i = 0; i < projectsNeedingKickouts.length; i += projectsNeedingKickouts.length) {
|
||||||
@@ -358,7 +357,6 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
const processedIds: string[] = [];
|
const processedIds: string[] = [];
|
||||||
|
|
||||||
for (const project of batch) {
|
for (const project of batch) {
|
||||||
console.log("PROCESSING PROJECT", project.id);
|
|
||||||
const kickoutPromises: Promise<void>[] = [];
|
const kickoutPromises: Promise<void>[] = [];
|
||||||
|
|
||||||
// Only add kickouts that are actually needed (flags are pre-computed)
|
// Only add kickouts that are actually needed (flags are pre-computed)
|
||||||
@@ -391,7 +389,6 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
processedIds.push(project.id);
|
processedIds.push(project.id);
|
||||||
console.log("PROCESSING FINISHED", project.id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear defaultProduct for the processed batch
|
// Clear defaultProduct for the processed batch
|
||||||
|
|||||||
Reference in New Issue
Block a user