You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/10/06 18:03:06 UTC

(tooling-trusted-releases) branch sbp updated (3adc33f1 -> 6cf196aa)

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a change to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


    from 3adc33f1 Disallow PubSub redirects to prevent downgrade to HTTP
     add e67a8f07 Links updates to production site
     add 9a3f8b2d #1715 - change PURL format
     new 6cf196aa Log a warning when the worker pool is full

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 BUILD.md                             |  2 +-
 CONTRIBUTING.md                      |  8 +++---
 DEVELOPMENT.md                       |  8 +++---
 README.md                            | 10 ++++----
 SECURITY.md                          |  6 ++---
 SUPPORT.md                           |  6 ++---
 atr/catalog_site.py                  | 49 +++++++++++++++++++++++++++---------
 atr/cle.py                           | 14 +++--------
 atr/docs/release-catalog.md          |  9 ++++---
 atr/manager.py                       |  2 ++
 atr/templates/catalog_site/purl.html | 21 ++++++++++------
 tests/unit/test_catalog_site.py      | 44 ++++++++++++++++++++++++++++++--
 tests/unit/test_cle.py               |  4 +--
 13 files changed, 125 insertions(+), 58 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org


(tooling-trusted-releases) 01/01: Log a warning when the worker pool is full

Posted by sb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 6cf196aae0932a063a25fda2db3cca1200e467ff
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Oct 6 19:02:12 2026 +0100

    Log a warning when the worker pool is full
---
 atr/manager.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/atr/manager.py b/atr/manager.py
index 240b0681..2b9f2574 100644
--- a/atr/manager.py
+++ b/atr/manager.py
@@ -175,6 +175,8 @@ class WorkerManager:
     async def spawn_worker(self) -> None:
         """Spawn a new worker process."""
         if len(self.workers) >= self.max_workers:
+            stopping = len(self.workers) - self.active_worker_count()
+            log.warning(f"Worker pool limit of {self.max_workers} reached ({stopping} stopping), not spawning another")
             return
 
         try:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org