meteor-job icon indicating copy to clipboard operation
meteor-job copied to clipboard

Problem with splitLongArray function

Open lekev opened this issue 9 years ago • 1 comments

Hi, I have a problem when I try to remove a long array of job ids , it seems that is limited to 256 ids . I suspect the splitLongArray function to be the issue.

lekev avatar Jan 18 '16 21:01 lekev

Hi, can you decribe what the problem actually is and provide some code to reproduce it? From your brief description I can't tell what your problem actually is. The purpose of splitLongArray is to batch up very long requests (> 256) into multiple method calls to the server instead of one very long request. This is required because of limitations in the Meteor DDP protocol.

splitLongArray works fine in my experience, and has extensive unit tests here: https://github.com/vsivsi/meteor-job/blob/master/test/index.coffee#L318

I'm marking this as "can't reproduce" pending more detailed information from you.

vsivsi avatar Jan 18 '16 23:01 vsivsi