-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37956/
-----------------------------------------------------------

(Updated Sept. 2, 2015, 6:09 p.m.)


Review request for Aurora, David McLaughlin and Bill Farner.


Changes
-------

rebase


Bugs: AURORA-1345
    https://issues.apache.org/jira/browse/AURORA-1345


Repository: aurora


Description
-------

The `true` parameter to `scope.$watch` tells Angular to only execute the 
supplied function if the watched data has changed. Given our 15s polling 
interval is likely less than time it takes for any progress to be made on an 
update, this removes the majority of (no-op) DOM operations.


Diffs (updated)
-----

  src/main/resources/scheduler/assets/js/directives.js 
c02c26f51ec4f190e61a1e79e4e045e9765bc2a5 

Diff: https://reviews.apache.org/r/37956/diff/


Testing
-------

Left tab open continually polling a job with ~3000 instances, confirmed that 
memory usage did not grow beyond ~200MB.


Thanks,

Joshua Cohen

Reply via email to