(limit int, keepMostRecent bool)
| 24 | const TimestampNever = uint32(math.MaxUint32) |
| 25 | |
| 26 | func NewMetadataCombiner(limit int, keepMostRecent bool) MetadataCombiner { |
| 27 | if keepMostRecent { |
| 28 | return newMostRecentCombiner(limit) |
| 29 | } |
| 30 | |
| 31 | return newAnyCombiner(limit) |
| 32 | } |
| 33 | |
| 34 | type anyCombiner struct { |
| 35 | trs map[string]*tempopb.TraceSearchMetadata |