Skip to content

Commit

Permalink
Merge pull request #11 from iron-io/add-idle-timeout-to-routes
Browse files Browse the repository at this point in the history
add idle_timeout to routes
  • Loading branch information
c0ze authored Jan 5, 2018
2 parents d828e7a + e95c63a commit c3492cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions client/components/FnRouteForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,25 @@
<div class="form-group">
<label class="col-sm-3 control-label">Memory, MB</label>
<div class="col-sm-9">
<input type="number" class="form-control" placeholder="e.g. 128" v-model="route.memory" @keydown.enter.prevent="">
<input type="number" class="form-control" placeholder="e.g. 128" v-model.number="route.memory" @keydown.enter.prevent="">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Max Concurrency</label>
<div class="col-sm-9">
<input type="number" class="form-control" placeholder="e.g. 100" v-model="route.max_concurrency" @keydown.enter.prevent="">
<input type="number" class="form-control" placeholder="e.g. 100" v-model.number="route.max_concurrency" @keydown.enter.prevent="">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Timeout, sec</label>
<div class="col-sm-9">
<input type="number" class="form-control" placeholder="e.g. 60" v-model="route.timeout" @keydown.enter.prevent="">
<input type="number" class="form-control" placeholder="e.g. 60" v-model.number="route.timeout" @keydown.enter.prevent="">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Idle Timeout, sec</label>
<div class="col-sm-9">
<input type="number" class="form-control" placeholder="e.g. 60" v-model.number="route.idle_timeout" @keydown.enter.prevent="">
</div>
</div>

Expand Down
2 changes: 2 additions & 0 deletions client/pages/AppPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<th>Memory</th>
<th>MaxCC</th>
<th>Timeout</th>
<th>Idle Timeout</th>
<th width="140">Actions</th>
</thead>
<tbody>
Expand All @@ -38,6 +39,7 @@
<td>{{route.memory}} MB</td>
<td>{{route.max_concurrency}}</td>
<td>{{route.timeout}}</td>
<td>{{route.idle_timeout}}</td>
<td>
<div class="toolbar">

Expand Down

0 comments on commit c3492cc

Please sign in to comment.