summaryrefslogtreecommitdiff
path: root/Assistant/Threads/Pusher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-18 16:19:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-18 17:23:47 -0400
commitaa26294c303846f4022a8750a148863646c9fdde (patch)
tree44d3a64c1c3c964f0bca5b56b03df53269f8fed0 /Assistant/Threads/Pusher.hs
parent4d035de8f4618e1c31c837b151b7ffeced20cd3d (diff)
webapp: Improved alerts displayed when syncing with remotes, and when syncing with a remote fails.
Diffstat (limited to 'Assistant/Threads/Pusher.hs')
-rw-r--r--Assistant/Threads/Pusher.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Assistant/Threads/Pusher.hs b/Assistant/Threads/Pusher.hs
index d87aa8d3b..e90cca1ec 100644
--- a/Assistant/Threads/Pusher.hs
+++ b/Assistant/Threads/Pusher.hs
@@ -11,7 +11,6 @@ import Assistant.Common
import Assistant.Commits
import Assistant.Types.Commits
import Assistant.Pushes
-import Assistant.Alert
import Assistant.DaemonStatus
import Assistant.Sync
import Utility.ThreadScheduler
@@ -25,8 +24,7 @@ pushRetryThread = namedThread "PushRetrier" $ runEvery (Seconds halfhour) <~> do
topush <- getFailedPushesBefore (fromIntegral halfhour)
unless (null topush) $ do
debug ["retrying", show (length topush), "failed pushes"]
- void $ alertWhile (pushRetryAlert topush) $
- pushToRemotes True topush
+ void $ pushToRemotes True topush
where
halfhour = 1800