mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Increase timeout to 30s
This commit is contained in:
parent
6a5fd81241
commit
e6d08bd759
1
changelog.d/493.bugfix
Normal file
1
changelog.d/493.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix GitLab approval/review-comments appearing as two messages when sent close together
|
@ -39,7 +39,7 @@ const log = new LogWrapper("GitLabRepoConnection");
|
|||||||
const md = new markdown();
|
const md = new markdown();
|
||||||
|
|
||||||
const PUSH_MAX_COMMITS = 5;
|
const PUSH_MAX_COMMITS = 5;
|
||||||
const MRRCOMMENT_DEBOUNCE_MS = 5000;
|
const MRRCOMMENT_DEBOUNCE_MS = 30000;
|
||||||
|
|
||||||
|
|
||||||
export type GitLabRepoResponseItem = GetConnectionsResponseItem<GitLabRepoConnectionState>;
|
export type GitLabRepoResponseItem = GetConnectionsResponseItem<GitLabRepoConnectionState>;
|
||||||
@ -564,7 +564,7 @@ ${data.description}`;
|
|||||||
additionalComments = 0,
|
additionalComments = 0,
|
||||||
approved?: boolean,
|
approved?: boolean,
|
||||||
) {
|
) {
|
||||||
const uniqueId = `${mergeRequest?.iid}/${user.username}`;
|
const uniqueId = `${mergeRequest.iid}/${user.username}`;
|
||||||
const renderFn = () => {
|
const renderFn = () => {
|
||||||
const result = this.debounceMRComments.get(uniqueId);
|
const result = this.debounceMRComments.get(uniqueId);
|
||||||
if (!result) {
|
if (!result) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user