[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp-get-connection-property mutex looping

From: Michael Albinus
Subject: Re: tramp-get-connection-property mutex looping
Date: Sun, 29 Dec 2019 12:43:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

Hi Dan,

> MA> No, it is not intended to keep idle connections. The properties are
> MA> checked for other reasons. Why do do worry about?
> Well first it can make debug logs giant.
> Also the user might be on a metered connection. Being charged for
> traffic or time with any traffic. And even if no traffic is involved,
> having the program do things continually is keeping the CPU busy and
> makes emacs not qualify as a (energy/global warming) environmentally
> friendly program as it no longer rests when not doing anything.

Please don't overexagerate. The logs are written only if tramp-verbose
is greater than 6, which is an exception. And there is no additional
traffic due to this verbosity.

> My college professor would give us a whipping if he found such...


> MA> Btw, the mutex is not used really. I've added it last year, when I tried
> MA> to make Tramp run in parallel. This work is currently stalled.
> Please document a way the user can slow it down / turn it off, and also
> what it is trying to achieve.

Using mutex is work in progress. When it turns out not to be applicable,
I'll remove it from Tramp.

The Tramp version bundled with Emacs doesn't use this code
yet. Therefore, I don't see any reason to write documentation about.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]