Changeset - r28253:18cf513802e9
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 9 months ago 2023-12-07 18:38:43
j.g.rennison@gmail.com
Fix #11551, aab580e0a: Link graph job results were incorrectly applied (#11558)

Edge flows were incorrectly restricted because the restricted
instead of unrestricted last update date was checked

See also: #10314
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/linkgraph/linkgraphjob.cpp
Show inline comments
 
@@ -138,7 +138,7 @@ LinkGraphJob::~LinkGraphJob()
 
				 * from the new flows. This avoids flow cycles between old and
 
				 * new flows. */
 
				while (!erased.IsEmpty()) ge.flows.erase(erased.Pop());
 
			} else if ((*lg)[node_id][dest_id].last_restricted_update == CalendarTime::INVALID_DATE) {
 
			} else if ((*lg)[node_id][dest_id].last_unrestricted_update == CalendarTime::INVALID_DATE) {
 
				/* Edge is fully restricted. */
 
				flows.RestrictFlows(to);
 
			}
0 comments (0 inline, 0 general)