-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/21.03: Prevent warning when updating LabCA Lower frequency of looking for file changes of hostname and rate-limit policies Do not wait for boulder startup when setup is not yet complete Wait longer for server to be ready before requesting first certificate Tweak description string of whitelist mode Fix config substitutions for whitelist mode (#15) Hold off on starting boulder until setup wizzard is completed Make installer more robust Make config substitutions more robust Stick to release tags even if there are newer commits on master Minor tweaks Fix query buildup when combining tables
- Loading branch information
Showing
10 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/reloader/reloader.go b/reloader/reloader.go | ||
index d885af63..ab71babf 100644 | ||
--- a/reloader/reloader.go | ||
+++ b/reloader/reloader.go | ||
@@ -9,7 +9,7 @@ import ( | ||
|
||
// Wrap time.Tick so we can override it in tests. | ||
var makeTicker = func() (func(), <-chan time.Time) { | ||
- t := time.NewTicker(1 * time.Second) | ||
+ t := time.NewTicker(30 * time.Second) | ||
return t.Stop, t.C | ||
} | ||
|
||
@@ -55,8 +55,12 @@ func New(filename string, dataCallback func([]byte) error, errorCallback func(er | ||
case <-tickChan: | ||
currentFileInfo, err := os.Stat(filename) | ||
if err != nil { | ||
- errorCallback(err) | ||
- continue | ||
+ time.Sleep(10 * time.Second) | ||
+ currentFileInfo, err = os.Stat(filename) | ||
+ if err != nil { | ||
+ errorCallback(err) | ||
+ continue | ||
+ } | ||
} | ||
if !currentFileInfo.ModTime().After(fileInfo.ModTime()) { | ||
continue |