mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Increase feed.pollTimeoutSeconds from 10s to 30s (#483)
* Increase feed.pollTimeoutSeconds from 10s to 30s * Drop pointless default * changelog
This commit is contained in:
parent
16c052e5b9
commit
93e2dbe7ed
1
changelog.d/483.misc
Normal file
1
changelog.d/483.misc
Normal file
@ -0,0 +1 @@
|
||||
Increase default `feeds.pollTimeoutSeconds` from 10 seconds to 30.
|
@ -87,7 +87,7 @@ feeds:
|
||||
#
|
||||
enabled: false
|
||||
pollIntervalSeconds: 600
|
||||
pollTimeoutSeconds: 10
|
||||
pollTimeoutSeconds: 30
|
||||
provisioning:
|
||||
# (Optional) Provisioning API for integration managers
|
||||
#
|
||||
|
@ -251,7 +251,7 @@ export class BridgeConfigFeeds {
|
||||
this.enabled = yaml.enabled;
|
||||
this.pollIntervalSeconds = yaml.pollIntervalSeconds;
|
||||
assert.strictEqual(typeof this.pollIntervalSeconds, "number");
|
||||
this.pollTimeoutSeconds = yaml.pollTimeoutSeconds ?? 10;
|
||||
this.pollTimeoutSeconds = yaml.pollTimeoutSeconds ?? 30;
|
||||
assert.strictEqual(typeof this.pollTimeoutSeconds, "number");
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,6 @@ export const DefaultConfig = new BridgeConfig({
|
||||
feeds: {
|
||||
enabled: false,
|
||||
pollIntervalSeconds: 600,
|
||||
pollTimeoutSeconds: 10,
|
||||
},
|
||||
provisioning: {
|
||||
secret: "!secretToken"
|
||||
|
Loading…
x
Reference in New Issue
Block a user