mp911de / spinach

Scalable Java Disque client
Apache License 2.0
34 stars 4 forks source link

Counters not being parsed when retrieving multiple Jobs. #24

Closed jasxir closed 8 years ago

jasxir commented 8 years ago

While trying to get the job with counters public Map<String, Long> biz.paluch.spinach.api.Job<K, V>.getCounters(); this method is giving an empty map.

Though while monitoring the disque port I'm able to see that Information

Request sent.

GETJOB
$7
TIMEOUT
$4
3000
$5
COUNT
$1
2
$12
WITHCOUNTERS
$4
FROM
$12
queue1

Response received.

D-c2febd4b-JS81tdlqarcPjxLnZ9eLi9bQ-003d
$57
job-body
$5
nacks
:74
$21
additional-deliveries
:1
:1
:1
*1
*7
$12
queue1
mp911de commented 8 years ago

Thanks for the bug report. Fixed with 4252580.

jasxir commented 8 years ago

Thanks for the prompt fix.