BoostryJP / ibet-Wallet-API

A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9 stars 0 forks source link

Speed up balance updates in indexer_Position batch (24.9) #1551

Closed purplesmoke05 closed 2 months ago

purplesmoke05 commented 2 months ago

Close #1550

github-actions[bot] commented 2 months ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
indexer_Position_Bond.py7639287%89–92, 412–413, 431–432, 496–497, 515–516, 553–554, 591–592, 629–630, 667–668, 705–706, 718, 732–733, 757–758, 765, 782–783, 790, 807–808, 832–833, 840, 867–868, 926–927, 939, 953–954, 961, 976–977, 984, 999–1000, 1007, 1060–1061, 1073, 1087–1088, 1095, 1110–1111, 1118, 1133–1134, 1141, 1156–1157, 1164, 1217–1218, 1327–1328, 1357–1358, 1411–1412, 1485–1486, 1635, 1640–1641, 1653–1654, 1669–1670, 1682–1683, 1692–1695, 1701–1704
indexer_Position_Coupon.py4748182%77–80, 337–343, 346–349, 352, 356–358, 364–365, 377, 391–392, 416–417, 424, 441–442, 449, 466–467, 491–492, 499, 526–527, 585–586, 598, 610–611, 618, 633–634, 641, 656–657, 664, 721–722, 820–821, 832, 838, 874–875, 907, 966, 971–972, 975, 978–979, 981–985, 1000–1001, 1013–1014, 1023–1026, 1032–1035
indexer_Position_Membership.py4566485%77–80, 340, 354–355, 379–380, 387, 404–405, 412, 429–430, 454–455, 462, 489–490, 548–549, 561, 573–574, 581, 596–597, 604, 619–620, 627, 684–685, 784–785, 796, 802, 838–839, 871, 930, 935–936, 939, 942–943, 945–949, 964–965, 977–978, 987–990, 996–999
indexer_Position_Share.py7639088%91–92, 412–413, 431–432, 496–497, 515–516, 553–554, 591–592, 629–630, 667–668, 705–706, 718, 732–733, 757–758, 765, 782–783, 790, 807–808, 832–833, 840, 867–868, 926–927, 939, 953–954, 961, 976–977, 984, 999–1000, 1007, 1060–1061, 1073, 1087–1088, 1095, 1110–1111, 1118, 1133–1134, 1141, 1156–1157, 1164, 1217–1218, 1327–1328, 1357–1358, 1411–1412, 1485–1486, 1635, 1640–1641, 1653–1654, 1669–1670, 1682–1683, 1692–1695, 1701–1704
TOTAL11167108490% 

Tests Skipped Failures Errors Time
1404 0 :zzz: 0 :x: 0 :fire: 45m 27s :stopwatch: