Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: resolve #59 - #279

#279
Open
Shaidyk wants to merge 1 commit into
outerbase:mainouterbase/starbasedb:mainfrom
Shaidyk:fix/issue-59Shaidyk/starbasedb:fix/issue-59Copy head branch name to clipboard
Open

fix: resolve #59#279
Shaidyk wants to merge 1 commit into
outerbase:mainouterbase/starbasedb:mainfrom
Shaidyk:fix/issue-59Shaidyk/starbasedb:fix/issue-59Copy head branch name to clipboard

Conversation

@Shaidyk

@Shaidyk Shaidyk commented Jun 15, 2026

Copy link
Copy Markdown

Resolves #59.

Переписал /export/dump так, чтобы дамп БД любого размера не загружался целиком в память и не упирался в 30-секундный лимит запроса. Дамп теперь генерируется потоково с постраничной выборкой строк (LIMIT/OFFSET) и отдаётся как streaming-Response; для очень больших БД добавлен опциональный сброс в R2 (?location=r2) через multipart-upload в файл dump_YYYYMMDD-HHMMSS.sql с фоновой загрузкой (ctx.waitUntil) и callback-уведомлением (?callback=).

/claim #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database dumps do not work on large databases

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.