Skip to content

[Feature] add request timeout protection for heavy processing endpoints #528

Description

@Facelessism

✨ Feature Overview

Add request timeout protection for backend endpoints that perform resource intensive operations such as large PDF processing and image transformations. requests exceeding a configurable execution time should terminate gracefully with a standardized timeout response instead of occupying worker threads indefinitely.

🚀 Why is this Feature Needed?

Processing very large files can keep worker threads busy for an extended period, reducing the application's ability to handle concurrent requests. Adding request timeout protection improves backend stability, prevents long running requests from monopolizing server resources and provides users with clear feedback when processing takes too long.

🎨 Visuals (If applicable)

🔧 Possible Implementation (Optional)

💡 Additional Notes

🏆 Are you contributing under any open-source program?

SSoC2026

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions