修改同一请求限制时间,
This commit is contained in:
@@ -31,7 +31,7 @@ export class GlobalUserService {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.lastRequestTime && Date.now() - this.lastRequestTime < 1000) {
|
||||
if (this.lastRequestTime && Date.now() - this.lastRequestTime < 500) {
|
||||
return {
|
||||
unsubscribe: () => {
|
||||
this.userObserverArray.splice(this.userObserverArray.indexOf(observer), 1);
|
||||
|
||||
Reference in New Issue
Block a user