Commit 3fcb862
fix: prevent get_request from permanently blocking requests (apify#1684)
• Fixed a file-system request-queue bug where get_request() incorrectly
marked requests as in-progress, which could permanently block them from
fetch_next_request(). I removed the side effect and added a regression
test to ensure get_request() remains read-only
Signed-off-by: Mirza-Samad-Ahmed-Baig <Mirzasamadahmedbaig@gmail.com>1 parent f2f16ca commit 3fcb862
File tree
2 files changed
+14
-2
lines changed- src/crawlee/storage_clients/_file_system
- tests/unit/storage_clients/_file_system
2 files changed
+14
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | | - | |
459 | 457 | | |
460 | 458 | | |
461 | 459 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
0 commit comments