Skip to content

Commit

Permalink
Silence warnings during connection backoff.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.sixapart.com/svn/gearman/trunk@477 011c6a6d-750f-0410-a5f6-93fdcd050bc4
  • Loading branch information
hachi committed May 14, 2010
1 parent 18721f9 commit 71ad8c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Gearman/Taskset.pm
Expand Up @@ -217,6 +217,7 @@ sub _get_default_sock {
};

my ($jst, $jss) = $ts->{client}->_get_random_js_sock($getter);
return unless $jss;
$ts->{loaned_sock}{$jst} ||= $jss;

$ts->{default_sock} = $jss;
Expand Down

0 comments on commit 71ad8c4

Please sign in to comment.