handle sonar bugs
This commit is contained in:
parent
1452c7ec44
commit
20008865a7
|
@ -27,6 +27,7 @@ const oneDay = oneHour * 24;
|
|||
const oneWeek = oneDay * 7;
|
||||
setInterval(() => {
|
||||
const now = new Date().getTime();
|
||||
if (joinRequestMap.size) {
|
||||
joinRequestMap.forEach((joinRequest, key) => {
|
||||
switch (joinRequest.status) {
|
||||
case JoinRequestStatus.Approved:
|
||||
|
@ -49,6 +50,7 @@ setInterval(() => {
|
|||
break;
|
||||
}
|
||||
});
|
||||
}
|
||||
// Run cleaner every hour
|
||||
}, oneHour);
|
||||
|
||||
|
|
Loading…
Reference in New Issue