Add explanation for search_index file

This commit is contained in:
2024-03-15 22:16:28 +01:00
parent 7024648712
commit 420eddf615
6 changed files with 61 additions and 8 deletions

View File

@@ -60,6 +60,10 @@ const update_base = async base => {
}
const close_socket = () => {
// Clear this path so the update_base function does not instantly return
// with the next retry
connected_to = ""
if (socket !== null) {
// Disable the error handler so it doesn't start retrying the connection
socket.onerror = null