[clang] [llvm] [clang][MBD] set up module build daemon infrastructure (PR #67562)
Michael Spencer via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 10 13:11:06 PDT 2024
================
@@ -43,8 +44,7 @@ constexpr size_t SOCKET_ADDR_MAX_LENGTH = sizeof(sockaddr_un::sun_path);
constexpr size_t BASEPATH_MAX_LENGTH =
SOCKET_ADDR_MAX_LENGTH - SOCKET_FILE_NAME.length();
-// How long should the module build daemon sit ideal before exiting
-constexpr int TimeoutSec = 15;
+constexpr std::chrono::microseconds MICROSEC_IN_SEC(1000000);
----------------
Bigcheese wrote:
You can just use `std::chrono::seconds`, or use https://en.cppreference.com/w/cpp/chrono/operator%22%22s.
https://github.com/llvm/llvm-project/pull/67562
More information about the cfe-commits
mailing list