Skip to content

Commit 4019f98

Browse files
committed
feat: remove unnecessary delay
1 parent 696c32e commit 4019f98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,11 @@ async function* createDumpStream(
204204
return fileToTarStreamFile(file, '/dbs')
205205
})
206206
)
207-
await new Promise((r) => setTimeout(r, 500))
208207
}
209208
}
210209

211210
/**
212-
* Creates a stream of storage files (eg. CSVs) as tar file/directory entires.
211+
* Creates a stream of storage files (eg. CSVs) as tar file/directory entries.
213212
*/
214213
async function* createStorageStream(): AsyncIterable<TarStreamInput> {
215214
yield { type: 'directory', path: '/files' }

0 commit comments

Comments
 (0)