MirrorCache/pr253.patch

14 lines
545 B
Diff

index f8f9e05..d69c158 100644
--- a/lib/MirrorCache/WebAPI/Plugin/Dir.pm
+++ b/lib/MirrorCache/WebAPI/Plugin/Dir.pm
@@ -117,7 +117,7 @@ sub render_dir_remote {
my $reftx = $tx;
};
- $c->minion->result_p($job_id)->timeout->($RENDER_DIR_REMOTE_PROMISE_TIMEOUT)->catch($handle_error)->then(sub {
+ $c->minion->result_p($job_id)->timeout($RENDER_DIR_REMOTE_PROMISE_TIMEOUT)->catch($handle_error)->then(sub {
$c->emit_event('mc_debug', "promiseok: $job_id");
_render_dir($dm, $dir);
my $reftx = $tx;