Commit c6b2e65
fix: bot wakes worker after job insert, increase idle timeout to 15min (#22)
The Telegram bot now pings the worker's /health endpoint after every
insertJob call, triggering Fly.io auto-start if the machine is stopped.
Also increases worker idle shutdown from 5 to 15 minutes.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff313a8 commit c6b2e65
2 files changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
38 | 56 | | |
39 | 57 | | |
40 | 58 | | |
| |||
349 | 367 | | |
350 | 368 | | |
351 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
352 | 373 | | |
353 | 374 | | |
354 | 375 | | |
| |||
441 | 462 | | |
442 | 463 | | |
443 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
444 | 468 | | |
445 | 469 | | |
446 | 470 | | |
| |||
495 | 519 | | |
496 | 520 | | |
497 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
498 | 525 | | |
499 | 526 | | |
500 | 527 | | |
| |||
666 | 693 | | |
667 | 694 | | |
668 | 695 | | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
669 | 699 | | |
670 | 700 | | |
671 | 701 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments