Skip to content

[Bug]: Check --clean-pending --clean-uploads failed to clean files: extended protocol limited to 65535 parameters #535

@pequenomestrex

Description

@pequenomestrex

Describe the bug

Clean Uploads raises an error when it's necessaary clean a lot of files.

Repoduction

`Teldrive check --clean-pending --clean-uploads --user myUser
Processing 1 channels with concurrency 4...

[Channel myChannelCode] Starting processing...
[Channel myChannelCode] Deleting incomplete uploads...
[Channel myChannelCode] Loading files from database...
[Channel myChannelCode] ✓ Loaded 922466 files/922466 (100.0%)
[Channel myChannelCode] Loading messages from Telegram...
[Channel myChannelCode] Loading 636372 messages...
[Channel myChannelCode] Loading: 636372/636372 (100.0%)
[Channel myChannelCode] ✓ Loaded 636372 messages from Telegram
[Channel myChannelCode] Processing messages and parts...
[Channel myChannelCode] Checking file integrity...
[Channel myChannelCode] Deleting pending files from database...
[Channel myChannelCode] Cleaning 636057 missing files...
[Channel myChannelCode] ✗ failed to clean files for channel myChannelCode: extended protocol limited to 65535 parameters

One or more channels failed to process: failed to clean files for channel myChannelCode: extended protocol limited to 65535 parameters`

Expected behavior

No errors.

Version

v1.8.2

Which Platform are you using?

Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions