We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 795d113 + 3a78373 commit b52930bCopy full SHA for b52930b
bin/restart.pl
@@ -0,0 +1,30 @@
1
+use strict;
2
+use warnings;
3
+use v5.36;
4
+
5
+use MetaCPAN::Logger qw< :log :dlog >;
6
7
+use MetaCPAN::ES;
8
9
+# setup
10
+my $es = MetaCPAN::ES->new();
11
12
+$es->restart( delay => '5s' );
13
14
+log_info {'Done'};
15
16
+1;
17
18
+__END__
19
20
+=pod
21
22
+=head1 SYNOPSIS
23
24
+ # bin/restart
25
26
+=head1 DESCRIPTION
27
28
+kick the ES cluster
29
30
+=cut
0 commit comments