Commit cc63641
committed
fix(test): watch bottleneck attribution — distinguish server vs local
When wait > 300s, now checks:
- Active TCP connections at connect() return → server-side long-poll
- No connections + network_sent ≈ 0 → local blocking (checkpoint/reconcile/schema)
Previous report incorrectly said 'long-poll' when data shows no TCP
connections and zero bytes sent — the 318s is pyturso internal
blocking IO (cf. tursodatabase/turso#7349), not waiting for server.1 parent 35179c7 commit cc63641
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
879 | | - | |
880 | | - | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
881 | 893 | | |
882 | 894 | | |
| 895 | + | |
883 | 896 | | |
884 | 897 | | |
885 | 898 | | |
| |||
0 commit comments