pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.18k stars 164 forks source link

Example fileio2.go fails with smaller chunk sizes and large files #166

Open wozuo opened 4 years ago

wozuo commented 4 years ago

Hi,

I was just testing different examples from the example dir, and I the fileio2.go example works just fine with the suggested chunk size of 250000. But when I change the chunk size to e.g. 1024 the example stops working (it stops after a few fetch loops and never progresses after that). Does anyone have an idea why that is?

Best regards