Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

Commit 9cc5326

Browse files
author
Ilya Zolotukhin
committed
228 - Unused debounce removed
1 parent 9ff21d1 commit 9cc5326

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/app/shared/services/auth.service.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ import { RouterUtilsService } from './router-utils.service';
1313
import { StorageService } from './storage.service';
1414
import { UserService } from './user.service';
1515

16-
import debounce = require('lodash/debounce');
17-
18-
1916
const DEFAULT_SESSION_REFRESH_INTERVAL = 60;
2017

2118
@Injectable()
@@ -41,9 +38,6 @@ export class AuthService extends BaseBackendService<BaseModelStub> {
4138
) {
4239
super();
4340
this.loggedIn = new BehaviorSubject<boolean>(!!this.userId);
44-
45-
debounce(this.refreshSession, 1000, { leading: true });
46-
debounce(this.resetInactivityTimer, 1000, { leading: true });
4741
}
4842

4943
public startInactivityCounter() {

0 commit comments

Comments
 (0)