Code review comment for lp://staging/~sjakthol/update-manager/fix-slow-calculation

Revision history for this message
Michael Terry (mterry) wrote :

Sami, love the work. Thank you so much!

60 + if callable(eventloop_callback) and random.random() < 0.01:

I'm a little uncomfortable using random(). What about if (len(self._deps) % 1000 == 0) or something similar?

« Back to merge proposal