Fix syncStageStartedAt not correctly set (#7436)
Fix syncStageStartedAt not correctly set --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -161,6 +161,7 @@ export class MessageChannelSyncStatusService {
|
|||||||
|
|
||||||
await messageChannelRepository.update(messageChannelIds, {
|
await messageChannelRepository.update(messageChannelIds, {
|
||||||
syncStage: MessageChannelSyncStage.MESSAGES_IMPORT_ONGOING,
|
syncStage: MessageChannelSyncStage.MESSAGES_IMPORT_ONGOING,
|
||||||
|
syncStageStartedAt: new Date().toISOString(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -54,7 +54,6 @@ export class MessagingPartialMessageListFetchService {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
throttleFailureCount: 0,
|
throttleFailureCount: 0,
|
||||||
syncStageStartedAt: null,
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user