mirror of
https://github.com/1f349/orchid.git
synced 2025-02-05 22:16:42 +00:00
Add initial agent check when starting
This commit is contained in:
parent
939875ca4c
commit
c4c8c33139
@ -65,6 +65,13 @@ func (a *Agent) syncRoutine(wg *sync.WaitGroup) {
|
||||
wg.Done()
|
||||
}()
|
||||
|
||||
Logger.Info("Doing quick agent check before starting...")
|
||||
a.syncCheck()
|
||||
|
||||
// Logging or something
|
||||
Logger.Info("Initial check complete, continually checking every 10 minutes...")
|
||||
|
||||
// Main loop
|
||||
for {
|
||||
select {
|
||||
case <-a.done:
|
||||
|
Loading…
Reference in New Issue
Block a user