Fix update interval for friend code data

This commit is contained in:
Samuel Elliott 2023-01-17 04:01:23 +00:00
parent 34d6a47322
commit 59a6e3917f
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -693,7 +693,7 @@ class Server extends HttpServer {
throw err;
}
}, promises, this.cached_friendcode_data);
}, promises, this.cached_friendcode_data, this.friendcode_update_interval);
} finally {
if (!promises.size) this.friendcode_data_promise.delete(id);
}