5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-10 02:50:27 +00:00

actually schedule the search cleanup code to run

This commit is contained in:
Arceliar 2020-02-08 20:33:35 -06:00
parent 8e05c6c6a7
commit 657777881b

View File

@ -170,6 +170,7 @@ func (sinfo *searchInfo) startSearch() {
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.