Browse Source

modules/cdp: omitted last_selected time when choosing a loadbalanced peer

Jason Penton 11 năm trước cách đây
mục cha
commit
70f7dbedd7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      modules/cdp/routing.c

+ 1 - 0
modules/cdp/routing.c

@@ -123,6 +123,7 @@ peer* get_first_connected_route(routing_entry *r,int app_id,int vendor_id)
 		}
 	}
 
+	p->last_selected = time(NULL);
 	return p;
 }