Skip to content

Commit 8596da9

Browse files
committed
perltidy
1 parent 33c1ed6 commit 8596da9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/MetaCPAN/Web/Controller/Root.pm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,11 @@ Attempt to render a view, if needed.
113113
sub end : ActionClass('RenderView') {
114114
my ( $self, $c ) = @_;
115115

116-
# This will only affect if `cdn_max_age` has been set.
117-
# https://www.fastly.com/documentation/guides/concepts/edge-state/cache/stale/
118-
# If it has then do revalidation in the background
116+
# This will only affect if `cdn_max_age` has been set.
117+
# https://www.fastly.com/documentation/guides/concepts/edge-state/cache/stale/
118+
# If it has then do revalidation in the background
119119
$c->cdn_stale_while_revalidate('1d');
120+
120121
# And if there is still an error serve from cache
121122
$c->cdn_stale_if_error('1y');
122123

lib/MetaCPAN/Web/Model/API/Author.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ sub get_multiple {
7777
$data->{authors} = [ @authors{@authors} ];
7878
$data;
7979
}
80-
)->then( \&_filter_authors );
80+
)->then( \&_filter_authors );
8181
}
8282

8383
sub search {

0 commit comments

Comments
 (0)