From cf3d3037b6bdae8cd17c6624ee5dd01ecb694995 Mon Sep 17 00:00:00 2001 From: Jonan Date: Wed, 28 Oct 2015 11:10:44 +0000 Subject: [PATCH] --- ...tant_on_boot_delay_the_execution_2min.mdwn | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn b/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn index d87960cf48..08a24bcb1b 100644 --- a/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn +++ b/doc/todo/When_autostarting_the_assistant_on_boot_delay_the_execution_2min.mdwn @@ -1,2 +1,34 @@ I think the assistant should have a delay before starting so it doesn't impact on the system boot performance. + I know this can be configured per user (I have it set to 5min), but I think 2min is a sane default. + +I don't really know how to submit patches (I can't attach it), so I simply copy it here. It's trivial enough. + +[[!format txt """ +From bc6b90ce333659bd2511eedd4ab9067241f73780 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jon=20Ander=20Pe=C3=B1alba?= +Date: Wed, 28 Oct 2015 12:00:51 +0100 +Subject: [PATCH] When autostarting the assistant on boot delay the execution + 2min + +--- + Assistant/Install/AutoStart.hs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Assistant/Install/AutoStart.hs b/Assistant/Install/AutoStart.hs +index 5745030..6a09c3a 100644 +--- a/Assistant/Install/AutoStart.hs ++++ b/Assistant/Install/AutoStart.hs +@@ -35,6 +35,6 @@ fdoAutostart command = genDesktopEntry + "Git Annex Assistant" + "Autostart" + False +- (command ++ " assistant --autostart") ++ (command ++ " assistant --autostart --startdelay=120") + Nothing + [] +-- +2.6.2 + + +"""]]