Permalink
Switch branches/tags
Nothing to show
Commits on May 17, 2011
  1. When running subprocesses in client tests, use test runner's perl and…

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    …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
    chaz committed May 10, 2010
  8. Oops, extraneous debugging.

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

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

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

    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
    dormando committed Jan 18, 2010
  2. A comment regarding my recent change to read_res_packet

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

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

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

    …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
    hachi committed Nov 10, 2009
Commits on Oct 5, 2009
  1. Checking in changes prior to tagging of version 1.10. Changelog diff is:

    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
    dormando committed Oct 5, 2009
  2. deprecate svn dist upload.

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

    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
    hachi committed Oct 3, 2009
Commits on Apr 9, 2009
  1. Mergedown of sync-async-client work into trunk.

    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
    hachi committed Apr 9, 2009
Commits on Mar 26, 2009
  1. Clear hooks at init and cleanup.

    Helps prevent reference loops when you use hooks.
    
    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@428 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    hachi committed Mar 26, 2009
Commits on Mar 18, 2009
  1. On reconnect workers should go to sleep on sockets.

    git-svn-id: http://code.sixapart.com/svn/gearman/trunk@427 011c6a6d-750f-0410-a5f6-93fdcd050bc4
    hachi committed Mar 18, 2009