Commit f65764a
committed
Fix latency calculation when there are \sleep commands in the script.
We can't use txn_scheduled to hold the sleep-until time for \sleep, because
that interferes with calculation of the latency of the transaction as whole.
Backpatch to 9.4, where this bug was introduced.
Fabien COELHO
Discussion: <alpine.DEB.2.20.1608231622170.7102@lancre>1 parent 156f974 commit f65764a
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
1828 | 1829 | | |
1829 | 1830 | | |
1830 | 1831 | | |
| 1832 | + | |
1831 | 1833 | | |
1832 | 1834 | | |
1833 | 1835 | | |
| |||
1840 | 1842 | | |
1841 | 1843 | | |
1842 | 1844 | | |
1843 | | - | |
| 1845 | + | |
1844 | 1846 | | |
1845 | 1847 | | |
1846 | 1848 | | |
| |||
2138 | 2140 | | |
2139 | 2141 | | |
2140 | 2142 | | |
2141 | | - | |
| 2143 | + | |
2142 | 2144 | | |
2143 | 2145 | | |
2144 | 2146 | | |
| |||
0 commit comments