Commit 7aed264
fix: make crawler terminal status message reliably delivered (apify#3733)
Fixes https://apify.slack.com/archives/CD0SF6KD4/p1780936657459989. If
there is no other code after the crawler.run, it could just never spin
the event loop to send the HTTP for status message.
I tested the fix on a few hundred runs, and it worked every time.
https://claude.ai/code/session_01PnJVep34w4Yzupcb3JzLJu
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4225a19 commit 7aed264
1 file changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
1082 | 1082 | | |
1083 | 1083 | | |
1084 | 1084 | | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1092 | 1096 | | |
1093 | 1097 | | |
1094 | 1098 | | |
| |||
0 commit comments