mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
Fix setTimeout syntax
This commit is contained in:
parent
6a599ed318
commit
29bede6109
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export default class Peer {
|
|||
return true;
|
||||
}
|
||||
this.requestRate += 1;
|
||||
setTimeout(_ => this.requestRate -= 1, 10000);
|
||||
setTimeout(() => this.requestRate -= 1, 10000);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue