mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Fix typo (#447)
This commit is contained in:
parent
e8c6a68e8c
commit
bca1b0b0ec
@ -213,7 +213,7 @@ export class FeedReader {
|
|||||||
|
|
||||||
let sleepFor: number;
|
let sleepFor: number;
|
||||||
if (elapsed > this.config.pollIntervalSeconds * 1000) {
|
if (elapsed > this.config.pollIntervalSeconds * 1000) {
|
||||||
log.warn(`It tooks us longer to update the feeds than the configured pool interval (${elapsed / 1000}s)`);
|
log.warn(`It took us longer to update the feeds than the configured pool interval (${elapsed / 1000}s)`);
|
||||||
sleepFor = 0;
|
sleepFor = 0;
|
||||||
} else {
|
} else {
|
||||||
sleepFor = this.config.pollIntervalSeconds * 1000 - elapsed;
|
sleepFor = this.config.pollIntervalSeconds * 1000 - elapsed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user