Skip to content
Snippets Groups Projects
  1. Dec 19, 2019
    • George Kiagiadakis's avatar
      config-policy: push endpoints with keep=true to the end of the list when sorting · 40e4ce89
      George Kiagiadakis authored
      This ensures that endpoints with keep=false will still have
      a chance to link when ones with keep=true exist. This also effectively
      means that role priority does not matter when keep=true: we keep these
      links active no matter what, while policy still applies normally for
      all others.
      
      For example, a final sorted list with these endpoints will end up
      looking like this:
      
      * ep1, role priority=25, keep=false
      * ep2, role priority=20, keep=false
      * ep3, role priority=25, keep=true
      * ep4, role priority=75, keep=true
      
      ... which will effectively cause ep1, ep3 and ep4 to be linked.
      40e4ce89
    • George Kiagiadakis's avatar
      config-policy: do not unlink other endpoints when linking one with keep=true · 729aee5c
      George Kiagiadakis authored
      keep=true should work in both ways:
      * keep the endpoint with this property linked at all times
      * keep other already linked endpoints when linking this one
      729aee5c
    • George Kiagiadakis's avatar
      config-policy: remove _can_link_stream() function · 3c5b5ea0
      George Kiagiadakis authored
      This is no longer needed since we sort endpoints by role priority
      before trying to link them and we link only the highest priority one.
      After this sorting, the highest priority endpoint is guaranteed
      to be able to link, so _can_link_stream() always returns TRUE.
      3c5b5ea0
  2. Dec 18, 2019
  3. Dec 17, 2019
  4. Dec 16, 2019
  5. Dec 13, 2019
  6. Dec 11, 2019
  7. Dec 10, 2019
  8. Dec 05, 2019
  9. Dec 04, 2019
Loading