|
@@ -161,7 +161,7 @@ class Dataflow_ActivteMQ_attachment(Dataflow_attachment):
|
|
page_attachments = json.loads(item.get(document_tmp_attachment_path,"[]"))
|
|
page_attachments = json.loads(item.get(document_tmp_attachment_path,"[]"))
|
|
_dochtmlcon = item.get(document_tmp_dochtmlcon,"")
|
|
_dochtmlcon = item.get(document_tmp_dochtmlcon,"")
|
|
|
|
|
|
- if _idx==0:
|
|
|
|
|
|
+ if random.random()<0.2:
|
|
log("jump by random")
|
|
log("jump by random")
|
|
if send_msg_toacmq(self.pool_mq,frame.body,self.mq_attachment):
|
|
if send_msg_toacmq(self.pool_mq,frame.body,self.mq_attachment):
|
|
ackMsg(conn,message_id)
|
|
ackMsg(conn,message_id)
|