Commit 2eb41eb
authored
perf(seaport_v4): bound OrdersMatched scan to incremental window (#9781)
* perf(seaport_v4): bound OrdersMatched scan to incremental window
* perf(seaport_v4): use standard incremental_predicate lookback
Replace all hardcoded is_incremental() bounds (interval '7' day) with incremental_predicate() macro on all 4 sites: block_time in source_ethereum_transactions, and evt_block_time in both OrderFulfilled scans and the OrdersMatched scan. On hourly_spellbook the macro resolves to a 3-day window, shrinking the per-run lookback from 7d to 3d as requested by 0xRobin. OrderFulfilled and OrdersMatched are kept on the same window so joined pairs are never split across the boundary.1 parent 85e2cac commit 2eb41eb
1 file changed
Lines changed: 9 additions & 3 deletions
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
116 | | - | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| |||
181 | 187 | | |
182 | 188 | | |
183 | 189 | | |
184 | | - | |
| 190 | + | |
185 | 191 | | |
186 | 192 | | |
187 | 193 | | |
| |||
0 commit comments