Instead of asking the signature aggregator to fetch signatures for all validators, ask it to do so prioritized and sorted by weight. One option is to first ask the aggregator for signatures in batches of validators, and ask the next batch if a timeout is reached and not enough signatures have been gathered.
Instead of asking the signature aggregator to fetch signatures for all validators, ask it to do so prioritized and sorted by weight. One option is to first ask the aggregator for signatures in batches of validators, and ask the next batch if a timeout is reached and not enough signatures have been gathered.