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

Elasticsearch settings update #2827

Merged
merged 4 commits into from
Mar 28, 2018

Conversation

notbakaneko
Copy link
Collaborator

  • configurable number of shards when creating index (doesn't affect existing indices)
  • increment error counter on Datadog on exception

@notbakaneko notbakaneko force-pushed the feature/es-settings-update-201803 branch from 9d94c68 to 7d55abe Compare March 27, 2018 08:00
app/helpers.php Outdated
@@ -141,7 +141,13 @@ function es_search($params)
$error = $e;
}

Log::debug($error);
if (isset($error) && config('datadog-helper.enabled')) {

This comment was marked as off-topic.

This comment was marked as off-topic.

@@ -152,6 +153,14 @@ private function fetch()
$this->error = $e;
}

if (isset($this->error) && config('datadog-helper.enabled')) {

This comment was marked as off-topic.

nanaya
nanaya previously approved these changes Mar 28, 2018
@nanaya nanaya merged commit 26d530f into ppy:master Mar 28, 2018
@notbakaneko notbakaneko deleted the feature/es-settings-update-201803 branch June 29, 2018 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants