Commit 90bc0ad
Improve idle timer and connection state log messages
Add connection ID, error codes, and actionable context to connection
lifecycle log messages. The idle timer expiry now explains what will
happen next (disconnect + reconnect) and includes the error
code 80003. A new LOG_MINOR message logs when the connection is
resumed or reestablished after disconnection, providing a bookend to
the idle expiry message. The connection state freshness check now
explains consequences (new connection, channel reattach) and includes
the connection state TTL and connection ID. Also replace "realtime"
with "Ably" in user-facing log messages.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c90f1c3 commit 90bc0ad
2 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
647 | 648 | | |
648 | 649 | | |
649 | 650 | | |
| |||
673 | 674 | | |
674 | 675 | | |
675 | 676 | | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
676 | 690 | | |
677 | 691 | | |
678 | 692 | | |
| |||
876 | 890 | | |
877 | 891 | | |
878 | 892 | | |
879 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
880 | 900 | | |
881 | 901 | | |
882 | 902 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
294 | 301 | | |
295 | 302 | | |
296 | 303 | | |
| |||
0 commit comments