]> git.parisson.com Git - teleforma.git/commitdiff
increase timeout for notify
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 25 Jan 2023 11:32:36 +0000 (12:32 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 25 Jan 2023 11:32:36 +0000 (12:32 +0100)
teleforma/models/core.py

index a40017d4e0f259bb828c1973f24a30132c29bd4c..fe6afc43e91cba8de86268a30c2394d84b60652c 100755 (executable)
@@ -484,7 +484,7 @@ class Conference(models.Model):
                 transport = httpx.HTTPTransport(uds=settings.CHANNEL_URL)
                 with httpx.Client(transport=transport) as client:
                     response = client.post("http://localhost" + reverse('teleforma-live-conference-notify'),
-                                            data={'id': self.id}, timeout=20.0)
+                                            data={'id': self.id}, timeout=60.0)
                     assert response.status_code == 200
 
     def save(self, *args, **kwargs):