Jakob Borg 11 years ago
parent
commit
e2fe57c440
2 changed files with 1 additions and 5 deletions
  1. 1 2
      main.go
  2. 0 3
      model.go

+ 1 - 2
main.go

@@ -27,8 +27,7 @@ var cfg Configuration
 var Version = "unknown-dev"
 
 var (
-	myID   string
-	config ini.Config
+	myID string
 )
 
 var (

+ 0 - 3
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 (