Skip to content

Commit 696c32e

Browse files
committed
chore: remove console.log
1 parent fdffa04 commit 696c32e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

apps/postgres-new/app/import/page.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,15 @@ export default function Page() {
119119

120120
const file = await requestFileUpload()
121121

122-
console.log('here?')
123-
124122
setProgress(0)
125123

126124
const metaDb = await dbManager.getMetaDb()
127125

128-
console.log('metadb', metaDb)
129-
130126
const fileStream = file
131127
.stream()
132128
.pipeThrough(new DecompressionStream('gzip'))
133129
.pipeThrough(new UntarStream())
134130

135-
console.log('file stream')
136-
137131
// Ensure that we load the meta DB first
138132
const [metaDumpEntry, restEntryStream] = await waitForChunk(
139133
fileStream,
@@ -155,11 +149,8 @@ export default function Page() {
155149
// (so that migrations and other checks run)
156150
const externalDbManager = new DbManager(externalMetaDb)
157151

158-
console.log('got here 1')
159-
160152
const databases = await externalDbManager.exportDatabases()
161153
const messages = await externalDbManager.exportMessages()
162-
console.log('got here 2')
163154

164155
try {
165156
await metaDb.sql`begin`
@@ -171,8 +162,6 @@ export default function Page() {
171162
throw err
172163
}
173164

174-
console.log('got here 3')
175-
176165
const existingIDBDatabases = await indexedDB.databases()
177166
const dbLoadSemaphore = new Semaphore(5)
178167
const dbLoadPromises: Promise<void>[] = []

0 commit comments

Comments
 (0)