[Buildbot-devel] Several scalability questions

Dustin J. Mitchell dustin at v.igoro.us
Tue Jan 18 20:51:11 UTC 2011


On Tue, Jan 18, 2011 at 2:48 PM, David Coppit <david at coppit.org> wrote:
> This is good to know. So looking at AnyBranchScheduler as a model, I see:
>
> - _process_changes takes an argument "t"
> - and it's passed into db functions like scheduler_get_classified_changes
> - Where t.execute() is called
>
> Is that the proper way to make sure we're in the same DB interaction? If
> so, what's the best way to get the "t" object from fileIsimportant (or
> perhaps a ChangeFilter)?

Hm, you'd need to re-implement whatever part of the schedulers is
calling that (in the ClassifierMixin) to pass the 't' parameter along.

Dustin




More information about the devel mailing list