+
Skip to content

Conversation

tomaswolf
Copy link
Contributor

  • Make the CommitCache fully thread-safe. It was using a
    ConcurrentHashMap containing lists, but then handed out these lists.
    It also did multiple operations on that map that as a whole should
    be atomic.
  • Use isEmpty() instead of size() == 0.
  • Run the loading of the commit cache in a background daemon thread

* Make the CommitCache fully thread-safe. It was using a
  ConcurrentHashMap containing lists, but then handed out these lists.
  It also did multiple operations on that map that as a whole should
  be atomic.
  
* Use isEmpty() instead of size() == 0.

* Run the loading of the commit cache in a background daemon thread
@gitblit gitblit merged commit bac1241 into gitblit-org:master Oct 27, 2016
@gitblit
Copy link
Collaborator

gitblit commented Oct 27, 2016

👍 Looks great!

@tomaswolf tomaswolf deleted the issue_1076 branch October 31, 2016 06:30
@flaix flaix added this to the 1.9.0 milestone Mar 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载