Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 26, 2014
  1. Merge pull request #24 from ddebin/master

    Bugfix include-path in composer.json
  2. Damien Debin

    Bugfix include-path in composer.json

    ddebin authored
    Fix "PHP Fatal error:  require_once(): Failed opening required 'Net/Gearman/Connection.php'" in Worker class.
Commits on Jun 12, 2014
  1. Merge pull request #23 from jpirkey/jpirkey-composer-support

    Adding composer file.
  2. Merge pull request #21 from jpirkey/jpirkey-remove-closing-php-tags

    Removing closing php tags for consistency
  3. Merge pull request #20 from jpirkey/jpirkey-support-additional-init-p…

    Additional init params support in job factory.
  4. Merge pull request #19 from jpirkey/jpirkey-fix-client-constructor-co…

    Fixing comment for appropriate timeout measurement
  5. Merge pull request #18 from jpirkey/jpirkey-more-descriptive-job-clas…

    Better error messages for job class lookup failure
  6. Merge pull request #17 from jpirkey/jpirkey-handle-1000-miliseconds-i…

    Handle if 1000 milliseconds is set as timeout
  7. Merge pull request #16 from jpirkey/jpirkey-better-error-handling-in-…

    Better compatibility in exceptions.
  8. Merge pull request #15 from jpirkey/jpirkey-better-error-handling-in-…

    Better error handling when job class isn't loaded.
  9. Merge pull request #14 from jpirkey/jpirkey-update-readme-to-better-e…

    Additional comments to explain how to fail job.
  10. Merge pull request #13 from jpirkey/jpirkey-remove-pear-type-hint-fro…

    For better compatibility, use Exception as the type hint
Commits on Apr 13, 2014
  1. Jason Pirkey
  2. Jason Pirkey

    Need to parens concat

    jpirkey authored
  3. Jason Pirkey

    Need to parens the concat.

    jpirkey authored
  4. Jason Pirkey

    Adding composer file.

    jpirkey authored
    This depends on the jpirkey-more-compatible-requires branch in that
    composer won’t work unless that branch is merged in.
  5. Jason Pirkey
  6. Jason Pirkey

    Additional init params support in job factory.

    jpirkey authored
    Add support to pass the class file and the class name in via the
    initParams array.
    path: full filename to class file.
    class_name: name of the class.
  7. Jason Pirkey
  8. Jason Pirkey
  9. Jason Pirkey

    Handle if 1000 milliseconds is set as timeout

    jpirkey authored
    I think this was the intended behavior … so that 1 second goes through
    the first if condition and sets the ts_sec to 1.
  10. Jason Pirkey
  11. Jason Pirkey
  12. Jason Pirkey
  13. Jason Pirkey
  14. Jason Pirkey
Commits on Mar 10, 2014
  1. Moved connection logic to use JIT connecting instead of connecting to…

    … all servers on every usage. This reduced some of our connection work load by 40%. Improved the status retrieval and simpliifed how server connections are stored and used by the code. Created a static to get an instance to reduce boiler plate code used over and over in our code base.
  2. Improved connection handling including pushing the timeout checking i…

    …nto socket_connect. Reduced default timeout to 250ms from 2s. We found 2s to be disasterous in production. By removing the looping connection attempts, only one connect will be tried before the function will return failure. This keeps the CPU spike problem from happening that some have seen with large timeouts and downed servers.
  3. Merge pull request #12 from etienneq/master

    Made Net_Gearman_Manager::worker() more fault tolerant
Commits on Sep 18, 2013
  1. etienneq
Commits on Apr 29, 2013
  1. This default was clearly wrong. Whoever wrote it was thinking microse…

    …conds, but the code expects seconds as a float.
Something went wrong with that request. Please try again.