git-annex/Logs
Joey Hess dd39e9e255
suggest when user may want annex.stalldetection
When annex.stalldetection is not enabled, and a likely stall is detected,
display a suggestion to enable it.

Note that the progress meter display is not taken down when displaying
the message, so it will display like this:

	0%    8 B                 0 B/s
	  Transfer seems to have stalled. To handle stalling transfers, configure annex.stalldetection
	0%    10 B                0 B/s

Although of course if it's really stalled, it will never update
again after the message. Taking down the progress meter and starting
a new one doesn't seem too necessary given how unusual this is,
also this does help show the state it was at when it stalled.

Use of uninterruptibleCancel here is ok, the thread it's canceling
only does STM transactions and sleeps. The annex thread that gets
forked off is separate to avoid it being canceled, so that it
can be joined back at the end.

A module cycle required moving from dupState the precaching of the
remote list. Doing it at startConcurrency should cover all the cases
where the remote list is used in concurrent actions.

This commit was sponsored by Kevin Mueller on Patreon.
2021-02-03 15:57:19 -04:00
..
Chunk update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ContentIdentifier speed up slow quickcheck test 2019-03-06 16:43:41 -04:00
Difference update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreferredContent generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Presence update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
SingleValue update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Trust generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Activity.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Chunk.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Config.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
ContentIdentifier.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Difference.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Export.hs formatLsTree did not use a tab where git does 2021-01-28 12:36:37 -04:00
File.hs more RawFilePath conversion 2020-11-05 18:45:37 -04:00
FsckResults.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Group.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Line.hs convert transitions.log to attoparsec and bytestring-builder 2019-01-10 17:13:30 -04:00
Location.hs make getViaTmpFrom no longer update location log 2020-12-11 11:50:13 -04:00
MapLog.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Multicast.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
NumCopies.hs mincopies 2021-01-06 14:15:19 -04:00
PreferredContent.hs sync --all avoid unncessary first pass 2020-09-24 15:12:09 -04:00
Presence.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Remote.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
RemoteState.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Schedule.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
SingleValue.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
Smudge.hs more RawFilePath conversion 2020-11-03 10:11:04 -04:00
Transfer.hs suggest when user may want annex.stalldetection 2021-02-03 15:57:19 -04:00
Transitions.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Trust.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Unused.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
UUID.hs generate more compact git-annex branch for imports 2020-12-23 15:25:16 -04:00
UUIDBased.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
View.hs more RawFilePath conversion 2020-10-29 12:03:50 -04:00
Web.hs importfeed: stream metadata for 5% speedup 2020-07-14 14:35:26 -04:00