Repository navigation
Commit 878db27
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 98a8ddd commit 878db27
2 files changed
Lines changed: 52 additions & 15 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5037 | 5037 | | |
5038 | 5038 | | |
5039 | 5039 | | |
5040 | | - | |
5041 | | - | |
5042 | | - | |
5043 | | - | |
| 5040 | + | |
| 5041 | + | |
| 5042 | + | |
| 5043 | + | |
| 5044 | + | |
| 5045 | + | |
5044 | 5046 | | |
5045 | 5047 | | |
5046 | 5048 | | |
5047 | | - | |
5048 | | - | |
5049 | | - | |
5050 | | - | |
5051 | | - | |
5052 | | - | |
5053 | | - | |
5054 | | - | |
5055 | | - | |
5056 | | - | |
| 5049 | + | |
5057 | 5050 | | |
5058 | 5051 | | |
5059 | 5052 | | |
| |||
5085 | 5078 | | |
5086 | 5079 | | |
5087 | 5080 | | |
| 5081 | + | |
5088 | 5082 | | |
5089 | 5083 | | |
5090 | | - | |
| 5084 | + | |
5091 | 5085 | | |
5092 | 5086 | | |
5093 | 5087 | | |
| |||
5098 | 5092 | | |
5099 | 5093 | | |
5100 | 5094 | | |
| 5095 | + | |
5101 | 5096 | | |
5102 | 5097 | | |
5103 | 5098 | | |
| |||
0 commit comments