Revert "fix: Reduce gantt exclude days length"

This reverts commit 2bde5ad667.
This commit is contained in:
Sidharth Vinod 2023-10-06 10:49:09 +05:30
parent 54d7b57f59
commit 157c90eeac
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 2 additions and 2 deletions

View File

@ -520,9 +520,9 @@ export const draw = function (text, id, version, diagObj) {
return;
}
if (dayjs(maxTime).diff(dayjs(minTime), 'year') > 1) {
if (dayjs(maxTime).diff(dayjs(minTime), 'year') > 5) {
log.warn(
'The difference between the min and max time is more than 1 years. This will cause performance issues. Skipping drawing exclude days.'
'The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.'
);
return;
}