• ap4y's avatar
    Fix reactive cache handling in NetworkPoliciesController#summary · 4e1baa8b
    ap4y authored
    Reactive cache flow goes through the background worker which causes
    arguments to the PacketFlowQuery to be stringified. This causes
    reactive cache worker to use a different cache key from the one used
    by the web process, as a result background worker will not re-calc
    cache. This patch converts PacketFlowQuery to use arguments that will
    work consistently for both flows. This patch also updates controller
    to send :accepted on initial caching request to improve frontend
    polling logic.
    4e1baa8b
packet_flow_query.rb 3.36 KB