SuccessChanges

Summary

  1. Initial commit. (details)
  2. Add the particulars to the info file. (details)
  3. Add the drush command file. (details)
  4. Add the configuration for supervisor. (details)
  5. Add the bash script to run the drush command. (details)
  6. Add the module file. (details)
  7. Surface the feature to Aegir. (details)
  8. Add a simple readme. (details)
  9. Remove an extra blank line. (details)
  10. Add a settings form. (details)
  11. Add the hook_menu(). (details)
  12. Add a description to the admin form. (details)
  13. Add a enable and disable hook to turn off the hosting tasks dispatch. (details)
  14. Add more detail to the delay options. (details)
  15. Beef up the README (details)
  16. Add some feedback that the queue runner is running. (details)
  17. Add a note about trouble shooting. (details)
  18. Add some more logging to the drush command. (details)
  19. Make sure the description of the form shows up. (details)
  20. Reduce the sleepy time, we weren't feeling responsive any more. (details)
  21. Add line breaks to the README. (details)
  22. restart the queue runner automatically after the timeout, see #1189696 (details)
  23. Issue #1189696 by Steven Jones: Fixed Running without supervisord leaks memory. (details)
  24. make the process lifetime customizable (details)
  25. Issue #1189768 by anarcat, Steven Jones: Added customizable process lifetime. (details)
  26. make delays translatable (details)
  27. simplify the fork call and rename the function to be clearer (details)
  28. rewrite the pcntl_exec() stuff to work with different command names and respect provided options (details)
  29. always restart the dispatcher (details)
  30. whitespace and comments (details)
  31. log to watchdog so frontend has feedback of dispatcher (details)
  32. add one minute process lifetime (details)
  33. pass process environment to child task correctly (details)
  34. change the feedback to remove some duplicate and useless messages (details)
  35. add init script to start our shiny daemon (details)
  36. document the autorestart feature and the init.d file (details)
  37. word wrap (details)
  38. handle SIGHUP as a restart properly (details)
  39. wait for the child tasks before restarting after signal (details)
  40. handle the case where ENV is not set (details)
  41. simplify signal handling code (details)
  42. make init script executable (details)
  43. remove unused variable (details)
  44. handle stopping gracefully, by waiting for our poor children (details)
  45. better log messages for signals (details)
  46. use unset instead of assigning to null to try to free memory (details)
  47. load more than one task at a time (details)
  48. Fix up the auto restart functionality and remove forking. (details)
  49. Revert "make delays translatable" format plural is translatable. (details)
  50. Tidy up. (details)
  51. Cleanup to ensure we can use PCNTL. (details)
  52. rename the readme to follow conventions (details)
  53. clarify why we pause twice (details)
  54. Argh that merge was wrong, fix it! (details)
  55. Clean up some docs. (details)
  56. Fix formatting in the README. (details)
  57. fixed status check to match the process as it actually runs (details)
  58. import hosting_queue_runner as a submodule in 2.x (details)
  59. 1548490 by grobot - fix hosting-task call for drush 5 (details)
  60. rename the hosting-queue-runner to hosting-queued (details)
  61. 1613376 by greg.1.anderson: fix invoke so that the alias is passed properly (details)
Commit fa0ba0ebc491ab0876fe949f51e8b80e0ccf0f1c by Steven Jones
Initial commit.
The file was addedhosting_queue_runner.info
Commit 75ead287d0b0ff83ef23bd33141bdfb4d654d01a by Steven Jones
Add the particulars to the info file.
The file was modifiedhosting_queue_runner.info
Commit 86e1dccddc547be733f2907ba1ea955ea474bf44 by Steven Jones
Add the drush command file.
The file was addedhosting_queue_runner.drush.inc
Commit 2846964c813d676b93c399d86a5fc5f48e9f79c9 by Steven Jones
Add the configuration for supervisor.
The file was addedhosting_queue_runner.conf
Commit 269e5525ca4e3994c7c3fb54f6c88c8bb1e37b10 by Steven Jones
Add the bash script to run the drush command.
The file was addedhosting_queue_runner.sh
Commit 9aceec7bdd8514229d28d1cbf0d84b1c5dc67761 by Steven Jones
Add the module file.
The file was addedhosting_queue_runner.module
Commit a745d5a528631e632d6db790f836e07a4710139f by Steven Jones
Surface the feature to Aegir.
The file was addedhosting.feature.queue_runner.inc
Commit 9cdbf2983f8000207ef848bd1b614610d8681c05 by Steven Jones
Add a simple readme.
The file was addedREADME
Commit 6daa5ba9982d556410ac10aed823742b5708fcef by Steven Jones
Remove an extra blank line.
The file was modifiedhosting_queue_runner.drush.inc
Commit 5daf7f25767198c0bbb15b52aac701ac36477917 by Steven Jones
Add a settings form.
The file was modifiedhosting_queue_runner.drush.inc
The file was addedhosting_queue_runner.admin.inc
Commit 2e6cab59599d8bf965aedea332a25abfee5fab82 by Steven Jones
Add the hook_menu().
The file was modifiedhosting_queue_runner.module
Commit 49d566f875eb9a3177965f3defecb5a6d0aaf0d8 by Steven Jones
Add a description to the admin form.
The file was modifiedhosting_queue_runner.admin.inc
Commit 3e424215524a317db5fc58e66d04016f42e90e81 by Steven Jones
Add a enable and disable hook to turn off the hosting tasks dispatch.
The file was addedhosting_queue_runner.install
Commit 896f1c58fd238b459ce193e482c69223cf0b6aee by Steven Jones
Add more detail to the delay options.
The file was modifiedhosting_queue_runner.admin.inc
Commit fe63b2f8072ebd455644196f5e6bfacb52a172a9 by Steven Jones
Beef up the README
The file was modifiedREADME
The file was modifiedhosting_queue_runner.conf
Commit 94261eab269db67ff5e765819aaff7417f4d6895 by Steven Jones
Add some feedback that the queue runner is running.
The file was modifiedhosting_queue_runner.drush.inc
The file was modifiedhosting_queue_runner.admin.inc
Commit 80dd49f81df927ed1ac0a4e39440f434d140fc2a by Steven Jones
Add a note about trouble shooting.
The file was modifiedREADME
Commit cb673c0eb84d57204708598985cbb7904b056944 by Steven Jones
Add some more logging to the drush command.
The file was modifiedhosting_queue_runner.drush.inc
Commit 7aed5c97e8e6139d54a4c6309665c708fdf58f2b by Steven Jones
Make sure the description of the form shows up.
The file was modifiedhosting_queue_runner.admin.inc
Commit 51a8da246f5308a142855965b2ccf3e989f83179 by Steven Jones
Reduce the sleepy time, we weren't feeling responsive any more.
The file was modifiedhosting_queue_runner.drush.inc
Commit bd5bc020d00acb872feae7a0859cdbb176f13ea5 by Steven Jones
Add line breaks to the README.
The file was modifiedREADME
Commit d9a7c661894051bd3390ca14c92167952720092b by Antoine Beaupré
restart the queue runner automatically after the timeout, see #1189696
The file was modifiedhosting_queue_runner.admin.inc
The file was modifiedhosting_queue_runner.drush.inc
Commit aa647c2ba4d88c4856be90af6181d5845144b718 by Steven Jones
Issue #1189696 by Steven Jones: Fixed Running without supervisord leaks memory.
The file was modifiedhosting_queue_runner.drush.inc
Commit e3eed606b567351c93ff3d02abb1d0587cdfb53f by Steven Jones
make the process lifetime customizable
The file was modifiedhosting_queue_runner.admin.inc
Commit e464868352a439a7c23763677beefde836393575 by Steven Jones
Issue #1189768 by anarcat, Steven Jones: Added customizable process lifetime.
The file was modifiedhosting_queue_runner.admin.inc
Commit 5d13147501a43630f1abb6e2fe87009a67abc919 by Antoine Beaupré
make delays translatable
The file was modifiedhosting_queue_runner.admin.inc
Commit abdcccab5a90bf8d826577bfd258d6aa5e8aaa12 by Antoine Beaupré
simplify the fork call and rename the function to be clearer
The file was modifiedhosting_queue_runner.drush.inc
Commit 816c6f4e11c1a701de6bfb9adc4dc5fc9e39261a by Antoine Beaupré
rewrite the pcntl_exec() stuff to work with different command names and respect provided options
The file was modifiedhosting_queue_runner.drush.inc
Commit 98a7c05faf29e4f807f5fe3162377c9fc523ec1d by Antoine Beaupré
always restart the dispatcher
The file was modifiedhosting_queue_runner.drush.inc
Commit e77b57da336f0ee2e6d33d852e8588a9ce44865f by Antoine Beaupré
whitespace and comments
The file was modifiedhosting_queue_runner.drush.inc
Commit 8218a2448721d430df5eb3c5414b35d59664e06c by Antoine Beaupré
log to watchdog so frontend has feedback of dispatcher
The file was modifiedhosting_queue_runner.drush.inc
Commit 69edaeccbdfeb0464f6707d41871bdb701f25a01 by Antoine Beaupré
add one minute process lifetime
The file was modifiedhosting_queue_runner.admin.inc
Commit 9bba413cddab14a5481dd23ec89984bb12c42275 by Antoine Beaupré
pass process environment to child task correctly
The file was modifiedhosting_queue_runner.drush.inc
Commit 9bf078722d300dbacae0a805fd857dccee1a3762 by Antoine Beaupré
change the feedback to remove some duplicate and useless messages
The file was modifiedhosting_queue_runner.drush.inc
Commit a42e5c59b2f0682e66180828df3c79d0c262892a by Antoine Beaupré
add init script to start our shiny daemon
The file was addedinit.d.example
Commit bc362e0f124a05cc02cb4cba6e6ca9fa3ba92ad0 by Antoine Beaupré
document the autorestart feature and the init.d file
The file was modifiedREADME
Commit 4b36ef43d3d51d0fb5da179734fc04c3dd625f07 by Antoine Beaupré
word wrap
The file was modifiedinit.d.example
Commit 25bdc5abfb297cfe397c2f6446831e47cc662ac8 by Antoine Beaupré
handle SIGHUP as a restart properly

now it interrupts child tasks, which isn't good, but can be improved
The file was modifiedhosting_queue_runner.drush.inc
Commit d146e691a0a05d4a463d3707b6007141af13c63d by Antoine Beaupré
wait for the child tasks before restarting after signal
The file was modifiedhosting_queue_runner.drush.inc
Commit 72dd6d167a646a80cc384303266390c3a278bd9a by Antoine Beaupré
handle the case where ENV is not set
The file was modifiedhosting_queue_runner.drush.inc
Commit 60fe345339d26a026f3ef91d62abd6b72e878830 by Antoine Beaupré
simplify signal handling code

we do not need to fork, as we do not need the PID to wait for it,
thanks to pcntl_wait().
The file was modifiedhosting_queue_runner.drush.inc
Commit 67ecb88c8a1b633e1b6cc742470bc9dc9226b5fd by Antoine Beaupré
make init script executable
The file was modifiedinit.d.example
Commit a285f66840039682bb736349c16485ae4da875b2 by Antoine Beaupré
remove unused variable
The file was modifiedhosting_queue_runner.drush.inc
Commit a0fccbb6fc4aa6c1af560ba8d383f4acc528ff9a by Antoine Beaupré
handle stopping gracefully, by waiting for our poor children
The file was modifiedhosting_queue_runner.drush.inc
Commit 05e01fffeb8bf03e4a7f36c1eeea96ab5507904a by Antoine Beaupré
better log messages for signals
The file was modifiedhosting_queue_runner.drush.inc
Commit 934fa06bcd890f818ec0b1ba8fe5a8cd7445a7b9 by Antoine Beaupré
use unset instead of assigning to null to try to free memory
The file was modifiedhosting_queue_runner.drush.inc
Commit 443c8a830f61e4051c6c4f0da60446a6cc8bae0f by Antoine Beaupré
load more than one task at a time

this reduces latency (one less sleep(1) call), the number of SQL
requests (one request per N tasks, where N is the default argument of
hosting_get_new_tasks()) and probably use less memory because we don't
do the wider loop all the time

this means, however, we need to check the time in the inner loop too
The file was modifiedhosting_queue_runner.drush.inc
Commit ceb84adb4a274c5c682554eda4b10fc45a67d6b1 by Steven Jones
Fix up the auto restart functionality and remove forking.
The file was modifiedhosting_queue_runner.drush.inc
Commit 840c9fa2dc7750e9d14f2e2c58ef638ea62a4761 by Steven Jones
Revert "make delays translatable" format plural is translatable.

This reverts commit 5d13147501a43630f1abb6e2fe87009a67abc919.
The file was modifiedhosting_queue_runner.admin.inc
Commit ccbc3fd02ce4a7f486262f465ddb3ca2d7f52913 by Steven Jones
Tidy up.
The file was modifiedhosting_queue_runner.drush.inc
Commit 6798cdfd4b186ad0a8c786a37aa41b5c07f115b2 by Steven Jones
Cleanup to ensure we can use PCNTL.
The file was modifiedhosting_queue_runner.drush.inc
Commit 3c2a6db79e2bf08f0d49f9b466aa635f039faf57 by Antoine Beaupré
rename the readme to follow conventions
The file was addedREADME.txt
The file was removedREADME
Commit e3f4801e979258ea29940b93c57dd22150d14f3d by Antoine Beaupré
clarify why we pause twice
The file was modifiedhosting_queue_runner.drush.inc
Commit 21996e439f4829b6b83a655d85d732856630d3cf by Steven Jones
Argh that merge was wrong, fix it!
The file was modifiedhosting_queue_runner.drush.inc
Commit 68542386f82f5886dfaebd45f90a175e83cc4891 by Steven Jones
Clean up some docs.
The file was modifiedhosting_queue_runner.drush.inc
Commit 0c5c7cd66b1dcfae5e3faa85ee165f2d0a19b183 by Steven Jones
Fix formatting in the README.
The file was modifiedREADME.txt
Commit 163b04d5155d8962eb4ee687395d3143f0e99760 by Antoine Beaupré
fixed status check to match the process as it actually runs
The file was modifiedinit.d.example
Commit 35c980125f4c31b9eefe9fb132894ae876aa10e3 by Antoine Beaupré
import hosting_queue_runner as a submodule in 2.x
The file was addedmodules/hosting/queued/hosting_queue_runner.admin.inc
The file was addedmodules/hosting/queued/init.d.example
The file was addedmodules/hosting/queued/hosting_queue_runner.module
The file was addedmodules/hosting/queued/hosting_queue_runner.conf
The file was addedmodules/hosting/queued/README.txt
The file was addedmodules/hosting/queued/hosting_queue_runner.info
The file was addedmodules/hosting/queued/hosting_queue_runner.sh
The file was addedmodules/hosting/queued/hosting_queue_runner.install
The file was addedmodules/hosting/queued/hosting_queue_runner.drush.inc
The file was addedmodules/hosting/queued/hosting.feature.queue_runner.inc
Commit 834861fa2d6b30aeba3cadd381b0e9b1ad251bd5 by Antoine Beaupré
1548490 by grobot - fix hosting-task call for drush 5
The file was modifiedmodules/hosting/queued/hosting_queue_runner.drush.inc
Commit ce2f7e85741ca07078a042af9197e34783580f38 by Antoine Beaupré
rename the hosting-queue-runner to hosting-queued

a few reasons:

1. it's shorter
2. it's really a daemon
3. it will look better in init.d/
The file was removedmodules/hosting/queued/hosting_queue_runner.sh
The file was removedmodules/hosting/queued/hosting_queue_runner.conf
The file was removedmodules/hosting/queued/hosting_queue_runner.info
The file was addedmodules/hosting/queued/hosting_queued.info
The file was addedmodules/hosting/queued/hosting_queued.sh
The file was modifiedmodules/hosting/queued/init.d.example
The file was modifiedmodules/hosting/queued/hosting.feature.queue_runner.inc
The file was removedmodules/hosting/queued/hosting_queue_runner.install
The file was removedmodules/hosting/queued/hosting_queue_runner.drush.inc
The file was addedmodules/hosting/queued/hosting_queued.drush.inc
The file was addedmodules/hosting/queued/hosting_queued.conf
The file was addedmodules/hosting/queued/hosting_queued.module
The file was addedmodules/hosting/queued/hosting_queued.install
The file was removedmodules/hosting/queued/hosting_queue_runner.module
The file was addedmodules/hosting/queued/hosting_queued.admin.inc
The file was removedmodules/hosting/queued/hosting_queue_runner.admin.inc
The file was modifiedmodules/hosting/queued/README.txt
Commit 79ac21ca8e4582a6eaf505766bae37f3a9b6b49a by Antoine Beaupré
1613376 by greg.1.anderson: fix invoke so that the alias is passed properly
The file was modifiedmodules/hosting/dispatch.hosting.inc