Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 17, 2012
  1. Set main module NAME to Gearman::Client since Gearman doesn't exist

    authored
    MakeMaker's NAME argument has to be set to the "main module" of the
    distribution and in this distribution it is considered Gearman::Client.
    
    For comparison, Template-Toolkit has NAME set to 'Template' and
    libwww-perl has NAME set to LWP.
    
    This information doesn't do anything useful other
    than making an entry in MYMETA files, perllocal.pod and (with cpanm)
    install.json metadata.
    
    I keep DISTNAME to Gearman so the tarball is still
    Gearman-VERSION.tar.gz and that makes distribution information and
    URLs on CPAN not change at all.
Commits on May 17, 2011
  1. When running subprocesses in client tests, use test runner's perl and…

    athomason authored
    … gearmand instead of environment's
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@484 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on May 14, 2010
  1. Bump up version in specfile

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@483 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  2. Requires Time::HiRes now, but that's been core since 5.8, so we shoul…

    hachi authored
    …d be fine.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@482 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  3. Add a timeout to exception negotiation

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@481 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  4. Connect backoff tests.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@480 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  5. Add an actual command timeout for, use it in ->add_task.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@479 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  6. Start using the timeout feature in tasksets.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@478 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  7. Silence warnings during connection backoff.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@477 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  8. Upon connection failure, exponential backoff

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@476 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  9. type $self to the client class so that field names are checked at com…

    hachi authored
    …pile time.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@475 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  10. Why is this eout here, we don't check it.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@474 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  11. Make dispatch_background use common code paths.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@473 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  12. Refactor _get_task_from_args to more use.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@472 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  13. Rewrite read_res_packet as an event loop, for timeouts.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@471 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on May 10, 2010
  1. Fixing these tests so they actually succeed.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@470 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  2. Cleaning up the other tests a little.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@469 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  3. Adding a test for clients command.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@468 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  4. Adding client support for the job server "clients" command.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@467 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  5. Adding support for the job server "jobs" status command.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@466 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  6. Adding tests for the job server status stuff.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@465 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  7. Slightly more broken-up server text response parsing, to make it easi…

    chaz authored
    …er to implement the other informational functions in the client.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@464 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  8. Oops, extraneous debugging.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@463 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  9. Adding the client functionality to issue and parse output from the se…

    chaz authored
    …rver "status" command.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@462 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  10. Adding a method to help parse text status responses from the server.

    chaz authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@461 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Jan 18, 2010
  1. Checking in changes prior to tagging of version 1.11. Changelog diff is:

    dormando authored
    Index: CHANGES
    ===================================================================
    --- CHANGES	(revision 456)
    +++ CHANGES	(working copy)
    @@ -1,3 +1,5 @@
    +1.11 (2010-01-17)
    +
          -- Switch read_res_packet to use sysread with a large buffer and offsets. This improves
             memory usage (sometimes drastically) and performance.
     
    
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@457 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  2. A comment regarding my recent change to read_res_packet

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@456 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Jan 15, 2010
  1. Use sysread's offset argument to save memory.

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@455 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Nov 10, 2009
  1. Update specfile for client

    hachi authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@452 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  2. Fix from Martin Atkins, don't print() in the Gearman::Util code and c…

    hachi authored
    …lose sockets
    
    when you have an error of some kind (indicating we're out of sync)
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@451 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Oct 5, 2009
  1. Checking in changes prior to tagging of version 1.10. Changelog diff is:

    dormando authored
    Index: CHANGES
    ===================================================================
    --- CHANGES	(revision 447)
    +++ CHANGES	(working copy)
    @@ -1,3 +1,5 @@
    +1.10 (2009-10-04)
    +
          -- Make workers wake up periodically for a particular server to make sure they aren't
             stale connections. This happened naturally (although at relatively low interval) in
             previous releases.
    
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@448 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  2. deprecate svn dist upload.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@447 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Oct 3, 2009
  1. Make workers wake up periodically and poll a server.

    hachi authored
    This makes sure our connections don't go stale when a server crashes and the connection isn't reset.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@442 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Apr 9, 2009
  1. Mergedown of sync-async-client work into trunk.

    hachi authored
    Squashed commit of the following:
    
    commit 5a686eea4897f76c54c18dcbe1a0dc59cd0b6d78
    Author: athomason <athomason@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Tue Jan 13 22:26:42 2009 +0000
    
        populate the try_timeout field in constructor
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@390 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit a72c1c2b8647704b9aee294ff846821e7a1bf429
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Thu Jan 8 01:35:55 2009 +0000
    
        Update manifest with new tests and add an rpm specfile for building.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@389 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 17bd23b88a2efa73f24e72a28682ab06a4e6e436
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Wed Jan 7 19:43:05 2009 +0000
    
        Removed one of the tests.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@388 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 8ff4f98d2e6c02cfa61d30c5560979b195a7f6f7
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Wed Jan 7 19:34:32 2009 +0000
    
        Sync worker for sync test. (needs refactoring)
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@387 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 37d7c4261c4c3430393b579266909d5d7a82a7f5
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Wed Jan 7 19:30:30 2009 +0000
    
        Disable the high-priority job ordering test.
    
        It doesn't actually reflect the fact that things are working fine.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@386 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 811b0069b8a59b5d15cc128cf928d081e1e4bc7d
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Wed Jan 7 19:30:27 2009 +0000
    
        Make the async-sync test work again.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@385 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit fff4718bce3611e0173674fa3f652583f33b332e
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Wed Jan 7 19:30:25 2009 +0000
    
        Return to original worker.pl.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@384 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit ae2d761879a1abf0b3863e2ee74aba5e66dfc8f5
    Author: athomason <athomason@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Tue Jan 6 20:06:56 2009 +0000
    
        Add per-try timeouts which support retry. Test pending current suite borkenness
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@383 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 6605215f9da3507a512f577cb4c1542b4dd5cfd0
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Mon Jan 5 14:49:49 2009 +0000
    
        more places that jobs in flight can stick.
    
        If on_ready or on_error contain elements, they're likely to be jobs that are waiting for this jobserver handle to come up.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@382 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit c9a49df80d290886bf331f5618305e5c7cd89f80
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Mon Jan 5 14:49:44 2009 +0000
    
        Remove debugging output.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@381 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 11e60c3abf6f0176846fcbdfe11832a79e6b64d9
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Thu Dec 11 19:31:43 2008 +0000
    
        Something is racing in this, but it's close
    
        I know that I've stolen code from the sync client without normalizing it or anything, I'm just trying to get it all working first, then I'll clean it up.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@380 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    commit 951719917b0729f61f591392dea04e80d3f2d535
    Author: hachi <hachi@011c6a6d-750f-0410-a5f6-93fdcd050bc4>
    Date:   Thu Dec 11 19:21:53 2008 +0000
    
        Branch to work on syncing the async client a little.
    
        git-svn-id: http://code.sixapart.com/svn/gearman/branches/sync-async-client@379 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@429 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Commits on Mar 26, 2009
  1. Clear hooks at init and cleanup.

    hachi authored
    Helps prevent reference loops when you use hooks.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@428 011c6a6d-750f-0410-a5f6-93fdcd050bc4
Something went wrong with that request. Please try again.