[Buildbot-commits] [buildbot/buildbot] b4884c: Add a `BuildsetProperties` cache and seed from `ad...

GitHub noreply at github.com
Thu May 22 22:50:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: b4884ca04cd7edac2014f6ae18e94462c66ada1a
      https://github.com/buildbot/buildbot/commit/b4884ca04cd7edac2014f6ae18e94462c66ada1a
  Author: Andrew Gallagher <agallagher at fb.com>
  Date:   2014-05-16 (Fri, 16 May 2014)

  Changed paths:
    M master/buildbot/db/buildsets.py
    M master/buildbot/test/unit/test_db_buildsets.py

  Log Message:
  -----------
  Add a `BuildsetProperties` cache and seed from `addBuildset`

This diff adds a cache around the buildset properties table
accessed from `getBuildsetProperties` and seeds it from `addBuildset`,
to avoid extra DB accesses immediately after adding a buildset.


  Commit: 92d9409ed6c4ea0798f6a6281cd47991395c2b0e
      https://github.com/buildbot/buildbot/commit/92d9409ed6c4ea0798f6a6281cd47991395c2b0e
  Author: Dustin J. Mitchell <dustin at buildbot.net>
  Date:   2014-05-22 (Thu, 22 May 2014)

  Changed paths:
    M master/buildbot/db/buildsets.py
    M master/buildbot/test/unit/test_db_buildsets.py

  Log Message:
  -----------
  Merge andrewjcg/buildbot:cache_bsprops (PR #1152)

+autopep8


Compare: https://github.com/buildbot/buildbot/compare/d758f59ab933...92d9409ed6c4


More information about the Commits mailing list