Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with splitLongArray function #8

Open
lekev opened this issue Jan 18, 2016 · 1 comment
Open

Problem with splitLongArray function #8

lekev opened this issue Jan 18, 2016 · 1 comment

Comments

@lekev
Copy link

lekev commented Jan 18, 2016

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.

@vsivsi
Copy link
Owner

vsivsi commented Jan 18, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants