Skip to content

Commit

Permalink
chore(deps): Bump moka from 0.12.5 to 0.12.6 (#1305)
Browse files Browse the repository at this point in the history
Bumps [moka](https://github.com/moka-rs/moka) from 0.12.5 to 0.12.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moka-rs/moka/blob/main/CHANGELOG.md">moka's
changelog</a>.</em></p>
<blockquote>
<h2>Version 0.12.6</h2>
<h3>Fixed</h3>
<ul>
<li>Fixed a bug in <code>future::Cache</code> that pending
<code>run_pending_tasks</code> calls may cause
infinite busy loop in an internal <code>schedule_write_op</code> method
(<a
href="https://redirect.github.com/moka-rs/moka/issues/412">#412</a>[gh-issue-0412]):
<ul>
<li>This bug was introduced in <code>v0.12.0</code> when the background
threads were removed
from <code>future::Cache</code>.</li>
<li>This bug can occur when <code>run_pending_task</code> method is
called by user code while
cache is receiving a very high number of concurrent cache write
operations.
(e.g. <code>insert</code>, <code>get_with</code>,
<code>invalidate</code> etc.)</li>
<li>When it occurs, the <code>schedule_write_op</code> method will be
spinning in a busy loop
forever, causing high CPU usage and all other async tasks to be
starved.</li>
</ul>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Upgraded <code>async-lock</code> crate used by
<code>future::Cache</code> from <code>v2.4</code> to the latest
<code>v3.3</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moka-rs/moka/commit/1d2af533f9b660f44cf531f9ba80d169a4470179"><code>1d2af53</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/416">#416</a> from
moka-rs/fix-stacked-borrow-violation</li>
<li><a
href="https://github.com/moka-rs/moka/commit/7879ddefe76b4c39bf4d557f692e53b1e8e72442"><code>7879dde</code></a>
Fix Miri error (Stacked Borrow violation) in the test code of the timer
wheel</li>
<li><a
href="https://github.com/moka-rs/moka/commit/2f23e5cdda9157f9943b6c252e490ff523470f5d"><code>2f23e5c</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/415">#415</a> from
moka-rs/avoid-async-scheduler-busy-loop</li>
<li><a
href="https://github.com/moka-rs/moka/commit/c50d186efbdf3f52e0c1ffab958ef9b5231a05ad"><code>c50d186</code></a>
Update the changelog</li>
<li><a
href="https://github.com/moka-rs/moka/commit/6c4f0acfbe038dd42fd741153cc84d3466185836"><code>6c4f0ac</code></a>
Bump the version to <code>v0.12.6</code></li>
<li><a
href="https://github.com/moka-rs/moka/commit/8805940fb385135d0ad3397f386f5009906e39fe"><code>8805940</code></a>
Prevent the busy loop of async schedulers</li>
<li><a
href="https://github.com/moka-rs/moka/commit/dc960af9835ef096e8d1d8cc1781e35041bdcee1"><code>dc960af</code></a>
Fix typos in comments</li>
<li><a
href="https://github.com/moka-rs/moka/commit/5996c8723e228c716e371fc2aab68307bc83ae90"><code>5996c87</code></a>
Prevent the busy loop of async schedulers</li>
<li><a
href="https://github.com/moka-rs/moka/commit/6ba5445bb2588080bb641d5e4241989cb16d9281"><code>6ba5445</code></a>
Merge pull request <a
href="https://redirect.github.com/moka-rs/moka/issues/413">#413</a> from
moka-rs/fix-ci-2024-04-10/v0.12</li>
<li><a
href="https://github.com/moka-rs/moka/commit/4042c4a1be3e29ee1e23524ab82ad6670303e03b"><code>4042c4a</code></a>
Fix Clippy warnings</li>
<li>Additional commits viewable in <a
href="https://github.com/moka-rs/moka/compare/v0.12.5...v0.12.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=moka&package-manager=cargo&previous-version=0.12.5&new-version=0.12.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Apr 12, 2024
1 parent 99db6d7 commit b3455ed
Showing 1 changed file with 56 additions and 91 deletions.
147 changes: 56 additions & 91 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3455ed

Please sign in to comment.