Skip to content

Timeout when Searching Through Lots of Tasks #55

@mitsuhiko

Description

@mitsuhiko

This is what I get when I try to use habitat to "full text search" through a lot of data with the changes after #54

2025/12/01 17:53:06 handleTasks: failed to scan task in queue default: context deadline exceeded
2025/12/01 17:53:06 GET /api/tasks -> 500 (10.114866834s)
2025/12/01 17:53:06 handleTasks: failed to scan task in queue default: context deadline exceeded
2025/12/01 17:53:06 GET /api/tasks -> 500 (10.043324334s)
2025/12/01 17:53:06 handleTasks: failed to scan task in queue default: context deadline exceeded
2025/12/01 17:53:06 GET /api/tasks -> 500 (10.146911667s)
2025/12/01 17:53:06 handleTasks: failed to scan task in queue default: context deadline exceeded
2025/12/01 17:53:06 GET /api/tasks -> 500 (10.0907035s)
2025/12/01 17:53:07 handleTasks: failed to scan task in queue default: context deadline exceeded
2025/12/01 17:53:07 GET /api/tasks -> 500 (10.423618459s)
2025/12/01 17:53:07 GET /api/tasks -> 200 (4.543869625s)
2025/12/01 17:53:07 handleTasks: row iteration error for queue default: context deadline exceeded
2025/12/01 17:53:07 GET /api/tasks -> 200 (10.826201708s)
2025/12/01 17:53:07 GET /api/tasks -> 200 (6.231803459s)
2025/12/01 17:53:08 GET /api/tasks -> 200 (1.283716584s)
2025/12/01 17:53:09 handleTasks: row iteration error for queue default: context deadline exceeded
2025/12/01 17:53:09 GET /api/tasks -> 200 (12.2222725s)
2025/12/01 17:53:09 GET /api/tasks -> 200 (1.506573458s)
2025/12/01 17:53:09 GET /api/tasks -> 200 (974.210417ms)

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions