Commit 6f24596
fix: address review findings in SolidQueueAdapter
- Add MAX_ATTEMPTS (5) enforcement to poll query — permanently-failing
jobs no longer retry indefinitely
- Replace Sequel.lit placeholder inside SQL quotes with explicit
integer interpolation for the interval expression
- Guard empty-array outpoints in rollback path (nil vs [] semantics)
- Document that process_job holds a DB connection during broadcast
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6cc2fca commit 6f24596
File tree
1 file changed
+16
-4
lines changed- gem/bsv-wallet-postgres/lib/bsv/wallet_postgres
1 file changed
+16
-4
lines changedLines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
187 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
188 | 199 | | |
189 | 200 | | |
190 | 201 | | |
191 | 202 | | |
192 | 203 | | |
193 | 204 | | |
194 | 205 | | |
195 | | - | |
196 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
197 | 209 | | |
198 | 210 | | |
199 | 211 | | |
| |||
229 | 241 | | |
230 | 242 | | |
231 | 243 | | |
232 | | - | |
| 244 | + | |
233 | 245 | | |
234 | 246 | | |
235 | 247 | | |
| |||
0 commit comments