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

Add Configuration#multi_tenant! for opting into multi-tentant support where configuration is per-thread #556

Merged
merged 2 commits into from
Aug 23, 2022

Commits on Aug 23, 2022

  1. Add Configuration#multi_tenant! for opting into multi-tentant suppo…

    …rt where configuration/caching is per-thread
    
    This is a follow up to NetSweet#549 to improve usage in a single tenant scenario
    where you might configure NetSuite on the main thread (ie. via Rails
    initializer), then make requests in another thread (ie. Sidekiq jobs).
    
    By default we assume single-tenant usage and the configuration/cache is
    shared across all threads. If you opt into multi-tenant usage, each
    child thread starts with it's own empty configuration/cache that is not
    shared to other threads.
    cgunther committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    968e3c8 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    iloveitaly authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a53e99c View commit details
    Browse the repository at this point in the history