open-nomad/ui/app/templates/jobs
Michael Lange a9bf04675f Add a key to the alloc table on the task group detail page
Adding keys tells Ember to rerender matching entries instead of
destroying and recreating.

Without this key, every time the allocation collection changes, every
allocation row gets destroyed and recreated.

This happens a lot, since each allocation needs to be reloaded which
dirties the collection.

Since allocation rows fetch stats on init, each of these many many
renders results in a stats request.

By using key and rerendering matching records, this all goes away. Since
the rows aren't being destroyed and recreated, the init stats request
isn't being made overnumerously.
2020-06-19 11:27:57 -07:00
..
job Add a key to the alloc table on the task group detail page 2020-06-19 11:27:57 -07:00
index.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00
job.hbs sync 2017-09-19 10:08:23 -05:00
loading.hbs Use page-layout for job routes 2018-07-30 13:13:52 -07:00
run.hbs Convert to angle bracket invocation (#8075) 2020-06-01 14:03:56 -05:00