From 9a8e07cb8ae63273dbbdb8cb7396657c9b9d283b Mon Sep 17 00:00:00 2001 From: Lizandro Date: Sun, 19 Jul 2026 13:58:41 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20ventana=20IMAP=20ampliada=20a=20120=20mi?= =?UTF-8?q?n=20y=20l=C3=ADmite=20a=2030=20correos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default de 5 min causaba que pagos enviados minutos después del correo de Bancolombia quedaran fuera de la ventana si había otros correos recientes. Co-Authored-By: Claude Sonnet 4.6 --- app/Services/PagoValidadorService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/PagoValidadorService.php b/app/Services/PagoValidadorService.php index 3e04e5a..f166569 100755 --- a/app/Services/PagoValidadorService.php +++ b/app/Services/PagoValidadorService.php @@ -192,7 +192,7 @@ class PagoValidadorService private function fetchCorreos(): array { - $minutos = (int) WhatsappSystemConfig::get('correo_imap_minutos', '5'); + $minutos = (int) WhatsappSystemConfig::get('correo_imap_minutos', '120'); $service = new CorreoImapService( host: WhatsappSystemConfig::get('correo_imap_host', ''), @@ -203,6 +203,6 @@ class PagoValidadorService folder: WhatsappSystemConfig::get('correo_imap_folder', 'INBOX'), ); - return $service->fetchLatest(limit: 10, minutesBack: $minutos); + return $service->fetchLatest(limit: 30, minutesBack: $minutos); } }