Skip to content
  • Mugurell's avatar
    For #11875 - Prevent mixup of region / locale based search engines · ea10d2a8
    Mugurell authored
    We have two search engine types:
    - one based on MLS reported region,
    - one based only on Locale.
    
    There are multiple steps involved in returning the default search engine for
    example and though at each step we could verify if a certain operation is
    completed we are still exposed to concurrency issues.
    Simplest and most effective way to make sure the MLS engines do not mix with
    Locale based engines is to use the same type of engines for the entire duration
    of the app. At the next cold start we'll verify again which engines to use.
    
    Using the Locale based engines (fallbacks) is expected to only happen once, at
    the first run of the application after being installed.
    ea10d2a8