Skip to content

Commit

Permalink
It may be faster.
Browse files Browse the repository at this point in the history
  • Loading branch information
walf443 committed Jul 17, 2010
1 parent b9c456a commit a671a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Qudo/Driver/Skinny.pm
Expand Up @@ -121,13 +121,13 @@ sub dequeue {
sub func_from_name {
my ($self, $funcname) = @_;
my $row = $self->find_or_create('func',{ name => $funcname });
$row->get_columns;
return { id => $row->id, name => $row->name };
}

sub func_from_id {
my ($self, $funcid) = @_;
my $row = $self->single('func',{ id => $funcid });
$row->get_columns;
return { id => $row->id, name => $row->name };
}

sub retry_from_exception_log {
Expand Down

0 comments on commit a671a0b

Please sign in to comment.