Paramedic plugin defaults

Anyone know if there's a way to change the defaults so that the page starts
with refreshing every 1 minute instead of 5 seconds? We have a lot of
indexes, and starting with 5 seconds makes the page unusable, but at 1
minute, it seems fine. So, if the initial page load is set to 1m refresh,
then it should be good.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I never looked at the code, but this line should be the default

App.refresh_interval = App.refresh_intervals.toArray()[1]

Changing the index from 1 to 3 should make the default setting 1 minute.
You can simply create your own fork, although you would need to merge newer
changes..

--
Ivan

On Fri, Jul 12, 2013 at 10:21 AM, krispyjala krispyjala@gmail.com wrote:

Anyone know if there's a way to change the defaults so that the page
starts with refreshing every 1 minute instead of 5 seconds? We have a lot
of indexes, and starting with 5 seconds makes the page unusable, but at 1
minute, it seems fine. So, if the initial page load is set to 1m refresh,
then it should be good.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks Ivan. Editing the file under plugins/paramedic/_site/js fixed it.

-- Kris.

On Friday, July 12, 2013 2:48:17 PM UTC-7, Ivan Brusic wrote:

I never looked at the code, but this line should be the default

https://github.com/karmi/elasticsearch-paramedic/blob/4bb823f49d2e87290d598caca44bf7fb347e3a6d/js/app.js#L48

App.refresh_interval = App.refresh_intervals.toArray()[1]

Changing the index from 1 to 3 should make the default setting 1 minute.
You can simply create your own fork, although you would need to merge newer
changes..

--
Ivan

On Fri, Jul 12, 2013 at 10:21 AM, krispyjala <krisp...@gmail.com<javascript:>

wrote:

Anyone know if there's a way to change the defaults so that the page
starts with refreshing every 1 minute instead of 5 seconds? We have a lot
of indexes, and starting with 5 seconds makes the page unusable, but at 1
minute, it seems fine. So, if the initial page load is set to 1m refresh,
then it should be good.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.