)]}'
{
  "commit": "11c52f6720bbed04d74ddfe45e19028ed33dad1c",
  "tree": "9cf5887356ac3964d5876116349ab3029ace795a",
  "parents": [
    "55243c642b69a9de5ee76540488cefd525199441"
  ],
  "author": {
    "name": "JouYoung Suh",
    "email": "jouyoung.suh@ericsson.com",
    "time": "Tue Oct 05 09:43:48 2021 -0400"
  },
  "committer": {
    "name": "JouYoung Suh",
    "email": "jouyoung.suh@ericsson.com",
    "time": "Wed Oct 06 11:33:01 2021 -0400"
  },
  "message": "Fix for replenishing schedule\n\nThis fixes the unusual replenish per rate schedule, where the replenish\nwas scheduled as: 1 minute – (n - 1) * timeLapse. It was unintended to\nbe firstly replenished in 1 minute. Meaning, it should have been\nscheduled as (n) * timeLapse.\n\nIt is ambiguous why scheduleAtFixedRate method is not executed after an\ninitial delay, and considers the initial delay variable as a first\nperiod. However, by walking through the previous versions, since it is\nevident that scheduleAtFixedRate method indeed considers the initial\ndelay as the first period, this fixes accordingly.\n\nChange-Id: I36273b8f70acab470a2322e7b091f1031acf23f7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "203645d851901db6cdb33ea51487f1879ef6c4d8",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/ratelimiter/PeriodicRateLimiter.java",
      "new_id": "cb86336576e14be6c222877a6ec9c8911517dead",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/ratelimiter/PeriodicRateLimiter.java"
    },
    {
      "type": "modify",
      "old_id": "0343d6bd78246bda3569889247767ba16d67b3ea",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/PeriodicRateLimiterTest.java",
      "new_id": "1cb37648fa69e2447f59481c2b578f8cc97832a7",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/PeriodicRateLimiterTest.java"
    },
    {
      "type": "modify",
      "old_id": "4a0162f609c753a1f07e1975e7cd4c63771dfb57",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/WarningRateLimiterTest.java",
      "new_id": "0353a9269330a3e81b7e2dee05eb83fa4eaa8f87",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/WarningRateLimiterTest.java"
    },
    {
      "type": "modify",
      "old_id": "b402e77d2c0ed1a57eb7efec092f26c6eba8f24b",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/WarningUnlimitedRateLimiterTest.java",
      "new_id": "facabbeda372a56dc40119df60fc211e87bc7014",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/ratelimiter/WarningUnlimitedRateLimiterTest.java"
    }
  ]
}
