Partly replace _ => with () => globally to conform with Googles JavaScript style guide if no parameters are expected in arrow functions

This commit is contained in:
schlagmichdoch 2023-11-02 01:22:41 +01:00
parent d84c7d1f84
commit d388f7e3cd
7 changed files with 87 additions and 87 deletions

View file

@ -663,7 +663,7 @@ class Peer {
return true;
}
this.requestRate += 1;
setTimeout(_ => this.requestRate -= 1, 10000);
setTimeout(() => this.requestRate -= 1, 10000);
return false;
}