Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11502

Investigate Jabber timeout handling

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 3.0.15-RC1, 3.1.12-RC1
    • 3.0.11
    • Notification System
    • None
    • Jabber server: talk.google.com:5222

      On phpbb.com we had Jabber notifications enabled and recently we started seeing PHP time limits being reached.

      Fatal error: Maximum execution time of 30 seconds exceeded in /community/includes/functions_jabber.php on line 304

      The timeout happens while sending notifications as well as during the ACP's login test when you submit the Jabber settings page.

      Something else I noticed is that the default timeout is 10 seconds for sending a Jabber message, which means we can have most 2 users requesting notifications with a faulty server before going past the default PHP timeout of 30 seconds. It may be useful to have an overall timeout value for all pending notifications.

            CHItA CHItA
            Noxwizard Patrick Webster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: