From e2fe57c4409daa872c40aac1b135426a75479ea0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 24 Feb 2014 13:34:24 +0100 Subject: [PATCH] deadcode --- main.go | 3 +-- model.go | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/main.go b/main.go index 853cb89f8..1c3752f9c 100644 --- a/main.go +++ b/main.go @@ -27,8 +27,7 @@ var cfg Configuration var Version = "unknown-dev" var ( - myID string - config ini.Config + myID string ) var ( diff --git a/model.go b/model.go index 112bde4b9..2617fb42a 100644 --- a/model.go +++ b/model.go @@ -64,9 +64,6 @@ type Connection interface { const ( idxBcastHoldtime = 15 * time.Second // Wait at least this long after the last index modification idxBcastMaxDelay = 120 * time.Second // Unless we've already waited this long - - minFileHoldTimeS = 60 // Never allow file changes more often than this - maxFileHoldTimeS = 600 // Always allow file changes at least this often ) var (