mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-26 07:11:40 +00:00
actually schedule the search cleanup code to run
This commit is contained in:
parent
8e05c6c6a7
commit
657777881b
@ -170,6 +170,7 @@ func (sinfo *searchInfo) startSearch() {
|
|||||||
time.AfterFunc(search_RETRY_TIME-elapsed, cleanupFunc)
|
time.AfterFunc(search_RETRY_TIME-elapsed, cleanupFunc)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
time.AfterFunc(search_RETRY_TIME, cleanupFunc)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calls create search, and initializes the iterative search parts of the struct before returning it.
|
// Calls create search, and initializes the iterative search parts of the struct before returning it.
|
||||||
|
Loading…
Reference in New Issue
Block a user