mitre / magma

MITRE Caldera's user interface plugin powered by VueJS
Apache License 2.0
3 stars 7 forks source link

Quick fix for high network use with large operation sets #52

Closed timbrigham-oc closed 4 months ago

timbrigham-oc commented 4 months ago

This is a quick fix for #51 in open requests.

Not a fix for the underlying issue, but it makes the console way more responsive.

elegantmoose commented 4 months ago

@timbrigham-oc So changing to an int did have noticeable effect?

timbrigham-oc commented 4 months ago

@elegantmoose, unfortunately not. I did some digging, apparently that scheduler is supposed to cast strings into ints if required. I thought it was firing every second, but when I hit it with a stopwatch it was every 3 as configured. It was still was enough to ramp my machine upto over a hundred mbps when on this screen however.

elegantmoose commented 4 months ago

Oh, you increased the value. Sorry, missed that.

timbrigham-oc commented 4 months ago

This shouldn't be needed with #53, just a workaround until it could be applied.