[pve-devel] applied: [PATCH common 2/4] restenv: remove unused variable 'ctime'

Fabian Gr├╝nbichler f.gruenbichler at proxmox.com
Fri Aug 18 11:09:21 CEST 2017


On Tue, Jul 25, 2017 at 03:32:21PM +0200, Thomas Lamprecht wrote:
> Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> ---
>  src/PVE/RESTEnvironment.pm | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm
> index 2aee8de..15eef90 100644
> --- a/src/PVE/RESTEnvironment.pm
> +++ b/src/PVE/RESTEnvironment.pm
> @@ -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;
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list