]> git.proxmox.com Git - pve-common.git/commitdiff
restenv: remove unused variable 'ctime'
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jul 2017 13:32:21 +0000 (15:32 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 18 Aug 2017 08:21:50 +0000 (10:21 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTEnvironment.pm

index 2aee8dea852e3883904c0484be70cc279eb90d02..15eef90c97fbae3dcf5a9a9cf83c82e0e222692e 100644 (file)
@@ -318,7 +318,6 @@ sub active_workers  {
        # we try to reduce the amount of data
        # list all running tasks and task and a few others
        # try to limit to 25 tasks
-       my $ctime = time();
        my $max = 25 - scalar(@$tlist);
         foreach my $task (@ta) {
            last if $max <= 0;