|
|
@ -488,10 +488,9 @@ class LokiSnodeAPI {
|
|
|
|
|
|
|
|
|
|
|
|
async buildNewOnionPaths() {
|
|
|
|
async buildNewOnionPaths() {
|
|
|
|
// this function may be called concurrently make sure we only have one inflight
|
|
|
|
// this function may be called concurrently make sure we only have one inflight
|
|
|
|
return primitives.allowOnlyOneAtATime(
|
|
|
|
return primitives.allowOnlyOneAtATime('buildNewOnionPaths', async () => {
|
|
|
|
'buildNewOnionPaths',
|
|
|
|
await this.buildNewOnionPathsWorker();
|
|
|
|
this.buildNewOnionPathsWorker
|
|
|
|
});
|
|
|
|
);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
async getRandomSnodeAddress() {
|
|
|
|
async getRandomSnodeAddress() {
|
|
|
|