5
0
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:
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-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.