-
Notifications
You must be signed in to change notification settings - Fork 65
Description
I have several calendars with 1,000 to 4,000 items. I'm trying to migrate them from Outlook using CalDav Synchronizer.
Baikal is running on TrueNAS Scale as a custom app.
On the server side, the log says,
[error] 56#56: *12 FastCGI sent in stderr: "PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/baikal/vendor/sabre/dav/lib/CalDAV/Backend/PDO.php on line 457" while reading response header from upstream, client: 172.16.8.1, server: _, request: "REPORT /dav.php/calendars/user/calendar/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "192.168.1.100:5080
I believe that means a REPORT is taking too long, due to the number of items.
I am in the process of trying to increase timeout values by changes to the yaml file but haven't yet managed to get that working. I think this is something that could be looked at in this project. Timeouts are often 300 but this setup is bombing at 30 seconds.