Commit edd6ad0
Improve parsing of XINFO STREAM response (redis#3282)
Make the parsing of XINFO STREAM response more resilient, by
handling the case when first and last entries are None after XTRIM.
Improve the parsing of consumers related info.1 parent dc3b505 commit edd6ad0
File tree
3 files changed
+48
-4
lines changed- redis/_parsers
- tests
- test_asyncio
3 files changed
+48
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2919 | 2919 | | |
2920 | 2920 | | |
2921 | 2921 | | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
2922 | 2947 | | |
2923 | 2948 | | |
2924 | 2949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4452 | 4452 | | |
4453 | 4453 | | |
4454 | 4454 | | |
| 4455 | + | |
| 4456 | + | |
| 4457 | + | |
| 4458 | + | |
| 4459 | + | |
| 4460 | + | |
4455 | 4461 | | |
4456 | 4462 | | |
4457 | 4463 | | |
4458 | 4464 | | |
4459 | 4465 | | |
4460 | | - | |
4461 | 4466 | | |
| 4467 | + | |
| 4468 | + | |
4462 | 4469 | | |
| 4470 | + | |
| 4471 | + | |
4463 | 4472 | | |
4464 | 4473 | | |
4465 | 4474 | | |
| |||
4469 | 4478 | | |
4470 | 4479 | | |
4471 | 4480 | | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
4472 | 4486 | | |
4473 | 4487 | | |
4474 | 4488 | | |
| |||
0 commit comments