From 9efb060542d8dbdab9384f626acf312e0266c27c Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 9 Sep 2024 16:04:00 +0200 Subject: [PATCH] auth LUA: better thread names --- pdns/lua-record.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 6c33cf3d51..8f028b4da2 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -90,6 +90,8 @@ public: private: void checkURL(const CheckDesc& cd, const bool status, const bool first = false) { + setThreadName("pdns/lua-c-url"); + string remstring; try { int timeout = 2; @@ -138,6 +140,7 @@ private: } } void checkTCP(const CheckDesc& cd, const bool status, const bool first = false) { + setThreadName("pdns/lua-c-tcp"); try { int timeout = 2; if (cd.opts.count("timeout")) { @@ -168,6 +171,7 @@ private: } void checkThread() { + setThreadName("pdns/luaupcheck"); while (true) { std::chrono::system_clock::time_point checkStart = std::chrono::system_clock::now(); -- 2.47.2