Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the thread pool from sync caches #316

Merged
merged 11 commits into from
Sep 3, 2023

Commits on Sep 3, 2023

  1. Remove the thread pool from sync caches

    - Remove `scheduled-thread-pool` crate.
    - Remove `thread_pool` and `unsafe_weak_pointers` modules.
    - Remove notification `DeliveryMode` as now `sync` caches only support the
      `Immediate` mode (like `future::Cache`).
    - Remove `sync::ConcurrentCacheExt`.
    - Rename `sync::ConcurrentCacheExt::sync` method to
      `sync::{Cache, SegmentedCache}::run_pending_tasks`.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    432262a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea40766 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdafa9b View commit details
    Browse the repository at this point in the history
  4. Remove the thread pool from sync caches

    - Make compilation to fail if none of `sync` and `future` features are enabled.
    - Update the migration guide.
    - Change the interval of auto running pending tasks from 500 ms to 300 ms.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    b934e85 View commit details
    Browse the repository at this point in the history
  5. Remove the thread pool from sync caches

    Fix the CI.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    d663037 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c5f905 View commit details
    Browse the repository at this point in the history
  7. Remove the thread pool from sync caches

    Update the doc comments.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    9437d7b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    98197e7 View commit details
    Browse the repository at this point in the history
  9. Remove the thread pool from sync caches

    Fix a lock related bug in `run_pending_tasks` of `sync` housekeeper.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    069c3c6 View commit details
    Browse the repository at this point in the history
  10. Remove the thread pool from sync caches

    Some clean up.
    tatsuya6502 committed Sep 3, 2023
    Configuration menu
    Copy the full SHA
    e435922 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1eca04d View commit details
    Browse the repository at this point in the history