mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Compare commits
2 Commits
dependabot
...
http-tiny
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3ebe939ce7 | ||
![]() |
b33e63cdf2 |
1726
bin/pt-archiver
1726
bin/pt-archiver
File diff suppressed because it is too large
Load Diff
1726
bin/pt-config-diff
1726
bin/pt-config-diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1726
bin/pt-diskstats
1726
bin/pt-diskstats
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1726
bin/pt-find
1726
bin/pt-find
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1726
bin/pt-heartbeat
1726
bin/pt-heartbeat
File diff suppressed because it is too large
Load Diff
1726
bin/pt-index-usage
1726
bin/pt-index-usage
File diff suppressed because it is too large
Load Diff
1726
bin/pt-kill
1726
bin/pt-kill
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1726
bin/pt-query-digest
1726
bin/pt-query-digest
File diff suppressed because it is too large
Load Diff
1726
bin/pt-slave-delay
1726
bin/pt-slave-delay
File diff suppressed because it is too large
Load Diff
1726
bin/pt-slave-restart
1726
bin/pt-slave-restart
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1726
bin/pt-table-sync
1726
bin/pt-table-sync
File diff suppressed because it is too large
Load Diff
1726
bin/pt-upgrade
1726
bin/pt-upgrade
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1401
lib/HTTP/Tiny.pm
Normal file
1401
lib/HTTP/Tiny.pm
Normal file
File diff suppressed because it is too large
Load Diff
@@ -45,7 +45,7 @@ use FindBin qw();
|
|||||||
|
|
||||||
eval {
|
eval {
|
||||||
require Percona::Toolkit;
|
require Percona::Toolkit;
|
||||||
require HTTP::Micro;
|
require HTTP::Tiny;
|
||||||
};
|
};
|
||||||
|
|
||||||
my $home = $ENV{HOME} || $ENV{HOMEPATH} || $ENV{USERPROFILE} || '.';
|
my $home = $ENV{HOME} || $ENV{HOMEPATH} || $ENV{USERPROFILE} || '.';
|
||||||
@@ -171,7 +171,7 @@ sub version_check {
|
|||||||
else {
|
else {
|
||||||
print "\n# A software update is available:\n";
|
print "\n# A software update is available:\n";
|
||||||
}
|
}
|
||||||
print join("\n", map { "# * $_" } @$advice), "\n\n";
|
print join("\n", map { "# * ".($_ || '') } @$advice), "\n\n";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if ( $EVAL_ERROR ) {
|
if ( $EVAL_ERROR ) {
|
||||||
@@ -384,7 +384,7 @@ sub pingback {
|
|||||||
my $instances = $args{instances};
|
my $instances = $args{instances};
|
||||||
|
|
||||||
# Optional args
|
# Optional args
|
||||||
my $ua = $args{ua} || HTTP::Micro->new( timeout => 3 );
|
my $ua = $args{ua} || HTTP::Tiny->new( timeout => 3 );
|
||||||
|
|
||||||
# GET https://upgrade.percona.com, the server will return
|
# GET https://upgrade.percona.com, the server will return
|
||||||
# a plaintext list of items/programs it wants the tool
|
# a plaintext list of items/programs it wants the tool
|
||||||
|
Reference in New Issue
Block a user