[master] 685de98b0 Revert "name the ban lurker thread"

Nils Goroll nils.goroll at uplex.de
Tue Jan 12 12:38:08 UTC 2021


commit 685de98b032b0dbdeebdc3f78b0adca8b1831057
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jan 12 13:34:47 2021 +0100

    Revert "name the ban lurker thread"
    
    Sorry, this was a stupid oversight. The worker thread gets already named
    by wrk_bgthread
    
    This reverts commit a19e22625caf062a501023cfc4878bbda52422a5.

diff --git a/bin/varnishd/cache/cache_ban_lurker.c b/bin/varnishd/cache/cache_ban_lurker.c
index 6676ce746..d0990f410 100644
--- a/bin/varnishd/cache/cache_ban_lurker.c
+++ b/bin/varnishd/cache/cache_ban_lurker.c
@@ -420,8 +420,6 @@ ban_lurker(struct worker *wrk, void *priv)
 	CHECK_OBJ_NOTNULL(wrk, WORKER_MAGIC);
 	AZ(priv);
 
-	THR_SetName("ban_lurker");
-
 	VSL_Setup(&vsl, NULL, 0);
 
 	while (!ban_shutdown) {


More information about the varnish-commit mailing list