-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to creating index asynchronously
Creating the index synchronously was required to get an up to version of its settings, in order to compare them to the user configuration and decide whether or not to update settings. Unfortunately this made practically every operation have a synchronous component causing a lot of problems down the line. This commit reverts to using create_index asynchronously to avoid said issues, and represents the settings of a nonexistent index as an empty hash, which will queue an update_settings if the user has specified any settings at all.
- Loading branch information
Showing
2 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters