pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-zeroconf



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul  5 19:03:29 UTC 2021

Modified Files:
        pkgsrc/net/py-zeroconf: Makefile distinfo

Log Message:
py-zeroconf: updated to 0.32.1

0.32.1

Increased timeout in ServiceInfo.request to handle loaded systems

It can take a few seconds for a loaded system to run the async_request coroutine when the event loop is busy, or the system is CPU bound (example being Home Assistant startup). We now add an 
additional _LOADED_SYSTEM_TIMEOUT (10s) to the run_coroutine_threadsafe calls to ensure the coroutine has the total amount of time to run up to its internal timeout (default of 3000ms).

Ten seconds is a bit large of a timeout; however, it is only used in cases where we wrap other timeouts. We now expect the only instance the run_coroutine_threadsafe result timeout will happen in a 
production circumstance is when someone is running a ServiceInfo.request() in a thread and another thread calls Zeroconf.close() at just the right moment that the future is never completed unless the 
system is so loaded that it is nearly unresponsive.

The timeout for run_coroutine_threadsafe is the maximum time a thread can cleanly shut down when zeroconf is closed out in another thread, which should always be longer than the underlying thread 
operation.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/net/py-zeroconf/Makefile \
    pkgsrc/net/py-zeroconf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-zeroconf/Makefile
diff -u pkgsrc/net/py-zeroconf/Makefile:1.19 pkgsrc/net/py-zeroconf/Makefile:1.20
--- pkgsrc/net/py-zeroconf/Makefile:1.19        Fri Jul  2 09:54:09 2021
+++ pkgsrc/net/py-zeroconf/Makefile     Mon Jul  5 19:03:29 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2021/07/02 09:54:09 adam Exp $
+# $NetBSD: Makefile,v 1.20 2021/07/05 19:03:29 adam Exp $
 
-DISTNAME=      zeroconf-0.32.0
+DISTNAME=      zeroconf-0.32.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zeroconf/}
Index: pkgsrc/net/py-zeroconf/distinfo
diff -u pkgsrc/net/py-zeroconf/distinfo:1.19 pkgsrc/net/py-zeroconf/distinfo:1.20
--- pkgsrc/net/py-zeroconf/distinfo:1.19        Fri Jul  2 09:54:09 2021
+++ pkgsrc/net/py-zeroconf/distinfo     Mon Jul  5 19:03:29 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.19 2021/07/02 09:54:09 adam Exp $
+$NetBSD: distinfo,v 1.20 2021/07/05 19:03:29 adam Exp $
 
-SHA1 (zeroconf-0.32.0.tar.gz) = db361f930253670aacf8f9d19339952d956f045d
-RMD160 (zeroconf-0.32.0.tar.gz) = c6916d756b582d7e6e847a66a7e5674c6fe93857
-SHA512 (zeroconf-0.32.0.tar.gz) = 17708ee523ae601323ed24a39ce93cf4eb0444a6b21e1d491f27764e65f1d6654945ddf61d91e97209c64f7b873a9ba59494b5e8fd4d58d47f478f10f95e170a
-Size (zeroconf-0.32.0.tar.gz) = 90945 bytes
+SHA1 (zeroconf-0.32.1.tar.gz) = 92e6c7607f8977453c9756b52943e004ef0842e8
+RMD160 (zeroconf-0.32.1.tar.gz) = 5e4a6fe9106d4c0446b6d403179297797f61d59a
+SHA512 (zeroconf-0.32.1.tar.gz) = 101b2ce1595c20b5e9e58ad06574576f8e08d1740f9531d3f3065437df7667da6a623026874feed1b4e6765331ea48a33a64a3322f2a6306a2eb357181e0517b
+Size (zeroconf-0.32.1.tar.gz) = 92432 bytes



Home | Main Index | Thread Index | Old Index