xdstack / httpsqs

Automatically exported from code.google.com/p/httpsqs
1 stars 0 forks source link

httpsqs4j 与 httpsqs v1.6 的lap问题 #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
当队列信息出现 2nd 
lap时候,即队列已满,重新从队列头开始覆盖。httpsqs4j 
会出现无法正常创建HttpsqsStatus对象的问题。

例如:
HTTP Simple Queue Service v1.6
------------------------------
Queue Name: xoyo
Maximum number of queues: 1000000
Put position of queue (2nd lap): 4562
Get position of queue (1st lap): 900045
Number of unread queue: 104517

原因是以前是2st,现在是2nd,所以改了下正则,就可以正常��
�用了。另附上patch

Original issue reported on code.google.com by sydcu...@gmail.com on 12 Jun 2011 at 7:42

Attachments: