Repository navigation
Commit c8aa1d2
committed
fix(mothership): send released held messages through the queue's own drain rules
Releasing held sends on mount kicked the queue dispatcher directly, which skips
the drain's guards. After a reload the chat history is not loaded yet, so a
follow-up queued behind a still-running turn went out at once and was refused as
busy. The release now only clears the hold; the drain effect, which waits for
the history and for the running turn to end, sends a released head, and now
also re-runs when the head's hold clears.1 parent 9d3a096 commit c8aa1d2
2 files changed
Lines changed: 52 additions & 15 deletions
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2114 | 2114 | | |
2115 | 2115 | | |
2116 | 2116 | | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
2117 | 2159 | | |
2118 | 2160 | | |
2119 | 2161 | | |
| |||
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5043 | 5043 | | |
5044 | 5044 | | |
5045 | 5045 | | |
5046 | | - | |
5047 | | - | |
5048 | | - | |
5049 | | - | |
| 5046 | + | |
| 5047 | + | |
| 5048 | + | |
| 5049 | + | |
| 5050 | + | |
| 5051 | + | |
5050 | 5052 | | |
5051 | 5053 | | |
5052 | 5054 | | |
5053 | | - | |
5054 | | - | |
5055 | | - | |
5056 | | - | |
5057 | | - | |
5058 | | - | |
5059 | | - | |
5060 | | - | |
5061 | | - | |
5062 | | - | |
| 5055 | + | |
5063 | 5056 | | |
5064 | 5057 | | |
5065 | 5058 | | |
| |||
5091 | 5084 | | |
5092 | 5085 | | |
5093 | 5086 | | |
| 5087 | + | |
5094 | 5088 | | |
5095 | 5089 | | |
5096 | | - | |
| 5090 | + | |
5097 | 5091 | | |
5098 | 5092 | | |
5099 | 5093 | | |
| |||
5104 | 5098 | | |
5105 | 5099 | | |
5106 | 5100 | | |
| 5101 | + | |
5107 | 5102 | | |
5108 | 5103 | | |
5109 | 5104 | | |
| |||
0 commit comments