Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
banks committed Oct 8, 2020
1 parent 948f002 commit 2ab9f9e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ui-v2/app/services/repository/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ import RepositoryService from 'consul-ui/services/repository';
import { inject as service } from '@ember/service';
import { env } from 'consul-ui/env';

// meta is used by DataSource to configure polling. The cursor is fake since we
// aren't really doing blocking queries. The pollInterval controls how long
// between each poll to the metrics provider.
// TODO - make this configurable in the UI settings.
// meta is used by DataSource to configure polling. The interval controls how
// long between each poll to the metrics provider. TODO - make this configurable
// in the UI settings.
const meta = {
cursor: 1,
pollInterval: env('CONSUL_METRICS_POLL_INTERVAL', 10000),
interval: env('CONSUL_METRICS_POLL_INTERVAL', 10000),
}

export default RepositoryService.extend({
Expand Down

0 comments on commit 2ab9f9e

Please sign in to comment.