Skip to content

Understanding the disableChunked option #1200

@vecerek

Description

@vecerek

Hi there 👋
This is more of a question, rather than a bug report or feature request. There's the undocumented option called disableChunked. I can see from the code that if it's set to true, it performs the tokenization in a different manner. However, is there any recommendation on when to use this flag and why?

I've seen some file type detection for zip files take 9+ seconds in production from time to time. I've noticed that in such cases up to a 100 byte range requests are made. Then I tried to set the disableChunkedoption to true and that seemed to have solved the problem. I'm thinking of always disabling the chunked tokenization but I'd like to know the trade-offs if any exist 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions