You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubloader/common/common
Mike Lang 997c1242b2 get_best_segments: Let other things run
get_best_segments can sometimes take a very long time,
we don't want to stop other work from happening while it's ongoing.
So we ask gevent to run other things until there's no other work to do,
then we do one hour, then check back with gevent again.

In combination with the performance improvements, this should mean we don't block
other things from running for more than a few hundred ms at most.
6 years ago
..
__init__.py common.stats: Add a stacksampler that records sampled stacks to prometheus 6 years ago
segments.py get_best_segments: Let other things run 6 years ago
stats.py Also need to replace locks on the counter float values to prevent deadlocks 6 years ago