Skip to content

Commit

Permalink
autoscaling: remove index settings for serverless (#456)
Browse files Browse the repository at this point in the history
* Drop the translog flush size setting
* Drop refresh interval
  • Loading branch information
inqueue authored Sep 14, 2023
1 parent 4bce3b2 commit 0b0b0b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nyc_taxis/challenges/common/autoscale-schedule.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"operation-type": "create-index",
"settings": {%- if index_settings is defined %} {{index_settings | tojson}} {%- else %} {
"index.store.type": "{{store_type | default('fs')}}",
"index.codec": "best_compression",
"index.refresh_interval": "30s",
"index.translog.flush_threshold_size": "4g"
"index.codec": "best_compression"
}{%- endif %}
}
},
Expand Down

0 comments on commit 0b0b0b4

Please sign in to comment.