)]}'
{
  "commit": "9f8ca36cfa9813fd252998f7679b94991d504231",
  "tree": "58c925be59e3eb6ef6db4efb88c8f0c6eff3a319",
  "parents": [
    "26fdd0e21ff1adb21e08dc09c60fc520720cf596"
  ],
  "author": {
    "name": "Sven Selberg",
    "email": "svense@axis.com",
    "time": "Fri Nov 17 14:24:21 2017 +0100"
  },
  "committer": {
    "name": "Sven Selberg",
    "email": "svense@axis.com",
    "time": "Tue Feb 06 12:29:07 2018 +0100"
  },
  "message": "Do not block Gerrit\u0027s event bus when queue is full\n\nIf rabbitmq goes down and the plugin cannot send messages for a long\nenough time, the queue will eventually fill up. queue.put() will block\nand wait for the publisher to start consuming from the queue and block\nthe event bus in Gerrit until queue is non-full.\n\nProducer:\n* If queue is full throw away incoming events instead of blocking.\nConsumer:\n* Wait for event to be available.\n* If event is available: take event and wait for an open connection.\n* If publish event fails and queue is full: throw away event.\n\nChange-Id: Idbe6a344fbaa8ae8715a5ddac7a1b1e89204f436\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "afa716f2751db3624d6315ea002e3879a13a4f93",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/message/MessagePublisher.java",
      "new_id": "bf0c438e189e17279f1bde7186532112e7c27982",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/message/MessagePublisher.java"
    },
    {
      "type": "modify",
      "old_id": "180aeda47d4cb1f3980b45c2cbdc933ffb91aa2d",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/session/Session.java",
      "new_id": "7d0669fd0824fe006c4c54bce8e22522eba08453",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/session/Session.java"
    },
    {
      "type": "modify",
      "old_id": "d0a872b5d719ba01b6912c51d628cae4dc4880d9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/session/type/AMQPSession.java",
      "new_id": "25ec9f9e0163876c7a12f8e406f657480d6847d9",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/rabbitmq/session/type/AMQPSession.java"
    }
  ]
}
