beanstalkd currently does not work properly. runqueue and drush command make some php errors.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2117619.patch | 1.72 KB | gordon |
| #2 | Beanstalkd_Integration-7.x-1.x-dev-run_runqueue_and_drush_command.patch | 7.73 KB | egruel |
beanstalkd currently does not work properly. runqueue and drush command make some php errors.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2117619.patch | 1.72 KB | gordon |
| #2 | Beanstalkd_Integration-7.x-1.x-dev-run_runqueue_and_drush_command.patch | 7.73 KB | egruel |
Comments
Comment #1
egruel commentedComment #2
egruel commentedThis patch resolve this problem and permit to run runqueue & drush command.
Comment #3
gordon commentedThanks for this.
Can you please post the errors that you are getting so I can see what you are trying to fix, and secondly can you please not include the trimming of the tailing whitespace. I would like to get rid of them but they are just clogging up the patch.
Thanks again.
Gordon
Comment #4
kscheirerYou'll probably have to reroll this anyway if #2133737: [tsm] Code style cleanup from pareview.sh goes in. Error messages would be very useful!
I think these are the only lines that were actually being changed in beanstalkd_process_item():
Comment #5
gordon commentedI have rerolled the patch, but I have not yet appied it.
Comment #6
gordon commentedI am not sure why this is being done, because when you call beanstalkd_get_host_queues() and pass a queue name it will just return that queue and nothing more.
This will actually pass a serialised version of the data to the function. $item->data is an unserialised version.
I have committed the changes to drush as they we can issues, but I need more information on why the changes were made for runqueue.sh
Comment #7
egruel commentedHi gordon,
Sorry for my late reply, as said "kscheirer" the only lines that were actually being changed in beanstalkd_process_item() are:
Sorry for my english but I' will try to give you more information to explain why i want do that's.
I have declare one queue in drupal like that :
I launch beanstalk with this command :
And run the script run_queue.sh :
After I simulate a push on my queue like that :
And i got this error, in shell :
When i change those lines, i have no error and "my_file.xml" is correctly push and process by my function "_my_module_process_queue".
ps: I have uptated my module with rc4 before re-make the patch
Comment #8
egruel commentedGordon,
I will send you a new patch, but i see you have already add this change in your patch, so for me this issue is resolve.
Thank you
Comment #9
egruel commented