瀏覽代碼

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

Jason Penton 11 年之前
父節點
當前提交
70f7dbedd7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;
 }