mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
make timeoutMs a read only property (set only in constructor)
This commit is contained in:
@@ -10,7 +10,7 @@ export class TimedApiBasedRepositoryLoader {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
public loader: RepositoryLoader,
|
public loader: RepositoryLoader,
|
||||||
public timeoutMs: number = 10000,
|
public readonly timeoutMs: number = 10000,
|
||||||
) {
|
) {
|
||||||
this.startFetchDataAndUpdate = this.startFetchDataAndUpdate.bind(this);
|
this.startFetchDataAndUpdate = this.startFetchDataAndUpdate.bind(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user