MariaDB server error broadcasts:send sending to very large segment

Your software
My Mautic version is: v3.3.3
My PHP version is: 7.4.20
My Database type and version is: mysql Ver 15.1 Distrib 10.5.11-MariaDB

Your problem
My problem is: when we schedule an email delivery to a very large segment we get an error

These errors are showing in the log: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ’
:defaultNumber) as frequency_number, IFNULL(fr.frequency_time,:frequencyTime)…’ at line 1

Steps I have tried to fix the problem: We try to change the value of the frequency of the email configuration to 2 a day as well as look in the forum for an answer to a similar case without success

I just solved the problem by including the limit in the scheduled task

mautic:emails:send --limit=50000
mautic:broadcasts:send --limit=50000