6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13454] Timeout for external calendar only in Portal
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__. ..__.. . |__|[__] || || | | || |\__||__||__|
Comment
> When an external calendar takes between 5 and 15 seconds to respond, > it will work in the dynamic kronolith view, but not on the Portal > page if a calendar block is used > > This is because in _getDriver() in > kronolith/lib/Ajax/Application/Handler.php, we have > > if ($driver == 'remote') { > $kronolith_driver->setParam('timeout', 15); > } > > But for the function listEvents() in kronolith/lib/Kronolith.php, we have > $driver = self::getDriver('Ical', $url); > $events = $driver->listEvents(...); > > which uses the default (hard coded) timeout value of 5 seconds. This > could be fixed by inserting $driver->setParam('timeout', 15); in the > above snippet, or (better?) improve the method getDriver (which > already includes a branch for $instance instanceof > Kronolith_Driver_Ical). > > Would it also be good to have those timeout values configurable?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers