修改同一请求限制时间,

This commit is contained in:
小海
2020-05-16 14:46:43 +08:00
parent 441b5c9d10
commit 61d9d8949c

View File

@@ -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);